If it is blocked, you can install it by overcoming the wall, or use domestic mirroring. First make sure php is installed, then follow the steps below.
//下载安装脚本 - composer-setup.php - 到当前目录 php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" //执行安装过程。 php composer-setup.php //删除安装脚本 php -r "unlink('composer-setup.php');"
Replace the full Packagist China image and modify the global configuration file of composer
composer config -g repo.packagist composer https://packagist.phpcomposer.com
centos I don’t know if there is a composer in the yum source. You can try it
If it is blocked, you can install it by overcoming the wall, or use domestic mirroring.
First make sure php is installed, then follow the steps below.
Replace the full Packagist China image and modify the global configuration file of composer
centos I don’t know if there is a composer in the yum source. You can try it