composer 本地包引入
1、修改项目composer.json 文件,增加 repositories 项;
...... "repositories": [ { "type": "path", "url": "../packages/laravel-sls" } ], ...... "require": { ...... "seffeng/laravel-sls": "dev-master", ...... }, ......
2、安装;
# 未安装过扩展,无 composer.lock 文件可执行 $ composer install 或 composer update # 已安装过扩展,存在 composer.lock 文件则执行 $ composer update