我希望开始一个新的symfony项目,我想使用composer来获得额外的优势,但我已经在我的新项目文件夹中使用了已安装的编辑器。已安装的作曲家随附Acquia dev桌面。当我在我的新项目文件夹中运行'php composer.phar'时,我收到此错误“无法打开输入文件:composer.phar”
答案 0 :(得分:0)
Double check where your composer.phar
file is located.
If it has been installed into your old project's folder, simply copy it to the new folder.
If it has been installed globally (i.e: it is not in your old project's folder), then make sure you are using the right command, you might need to simply do composer install
instead of php composer.phar