1
1

More than 3 years have passed since last update.

Could not open input file: composer.pharが出た場合の対処方法

Last updated at Posted at 2021-08-01

macでcomposerインストール後にCakePHPのプロジェクトを作成しようとしてつまずいたのでメモ

php composer.phar create-project --prefer-dist cakephp/app:4.* my_app_name

を実行した場合に

Could not open input file: composer.phar

と表示されることがあります。
その場合は以下でプロジェクトを作成してみてください。

composer create-project --prefer-dist cakephp/app:4.* my_app_name
1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1