1.下载
curl -sS https://getcomposer.org/installer | php
2.配置全局composer
mv composer.phar /usr/local/bin/composer
3.切换国内源
composer config -g repo.packagist composer https://packagist.phpcomposer.com
4.使用composer更新项目框架
composer update
2024-04-08 09:32:33
1.下载
curl -sS https://getcomposer.org/installer | php
2.配置全局composer
mv composer.phar /usr/local/bin/composer
3.切换国内源
composer config -g repo.packagist composer https://packagist.phpcomposer.com
4.使用composer更新项目框架
composer update