安装 curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer 包的来源 VCS(线上版本控制系统) composer.json { "repositories": [ { "type": "vcs", "url": "https://github.com/username/hello-world" } ], "require": { "acm...
安装 curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer 包的来源 VCS(线上版本控制系统) composer.json { "repositories": [ { "type": "vcs", "url": "https://github.com/username/hello-world" } ], "require": { "acm...
安装 安装 Composer,你只需要下载 composer.phar 可执行文件。 curl -sS https://getcomposer.org/installer | php 如果上面方法报错,使用下面的方法也是一样的 wget https://getcomposer.org/installer [vagrant@10 ~]$ /data/apps/php/bin/php installer [vagrant@10 ~]$ sudo mv composer.phar /usr/bin/composer 使用 composer install composer update