"repositories": { "packagist": { "type": "composer", "url": "https://packagist.phpcomposer.com" } }
分类: composer
composer中国镜像
https://pkg.phpcomposer.com/
linux composer 安装
php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === '7228c001f88bee97506740ef0888240bd8a760b046ee16db8f4095c0d8d525f2367663f22a46b48d072c816e7fe19959') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" #composer install php composer.phar install