composer require 安装本地路径包 Posted on 2019-03-21 Edited on 2020-12-08 在 composer.json 添加下面的配置 123456"repositories": [ { "type": "path", "url": "/full/or/relative/path/to/development/package" }] 执行 require 操作 1composer require "vendorname/packagename @dev" @dev 和包名中间的空格要有 查看原文