Composer 扩展包开发

Composer 扩展包开发

1
2
3
4
5
6
7
8
9
10
11
# 安装 Package Builder 包结构创建工具
composer global require overtrue/package-builder

# 创建目录结构 - 包名 sevming/helper
package-builder build packages/helper

# 配置本地安装目录
composer config repositories.helper path packages/helper

# 安装扩展包
composer require sevming/helper:dev-master
0%