连续复制
一键复制
一键打包
国内源网址
composer config -g repo.packagist composer https://packagist.phpcomposer.com
常用操作
创建
composer create-project "项目名称" "文件目录" --prefer-dist (优先目标)
添加
composer require 名称
移除
composer remove 名称
更新
composer update
composer config -g repo.packagist composer https://packagist.phpcomposer.com
composer create-project "项目名称" "文件目录" --prefer-dist (优先目标)
composer require 名称
composer remove 名称
composer update
评论已关闭