composer出现问题: Could not open input file: composer.phar【转】

可以执行下面命令

php -r "readfile('https://getcomposer.org/installer');" | php

This will install composer to the current directory so that you can use php composer.phar

文章转自:https://www.cnblogs.com/init-007/p/10986578.html

原文地址:https://www.cnblogs.com/KillBugMe/p/13143340.html