This article introduces PHP composer installation. Now I share it with everyone. Friends in need can refer to it
php -r "readfile('https://getcomposer.org/installer');" > composer-setup.phpphp composer-setup.phpphp -r "unlink('composer-setup.php');"
##cp composer.phar /usr/local/bin/composer
composer config -g repo.packagist composer https://packagist.phpcomposer.com
composer install --no-scripts
chown -R www:www ./
Related recommend:
<a href="http://www.php.cn/php-weizijiaocheng-390846.html" target="_self">Composer installation and usage instructions</a>
The above is the detailed content of PHP composer installation. For more information, please follow other related articles on the PHP Chinese website!