Hello, Plugin

php composer

admin 2019-10-11 111

php composer   https://getcomposer.org/    http://www.phpcomposer.com/  中国镜像 https://pkg.phpcomposer.com  https://blog.csdn.net/yangbbenyang/article/details/52457666

安装脚本:

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
# php composer-setup.php

#php composer-setup.php --install-dir=bin

sudo php composer-setup.php --filename=composer --install-dir=/usr/local/bin

php -r "unlink('composer-setup.php');"


最新回复 (0)
返回
发新帖