Linux 平台 Centos安装composer
可以使用以下命令来安装:
移动 composer.phar,这样 composer 就可以进行全局调用:
切换为国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
更新 composer:
composer selfupdate
查看composer
composer -v
移动 composer.phar,这样 composer 就可以进行全局调用:
切换为国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
更新 composer:
composer selfupdate
查看composer
composer -v