CakePhp 3 - create new project

I need to initiate a new app and the installer doesn’t work.

My php version : 5.6.25
Composer is updated (in www folder)
I tried (my folder app is www/product/app) :

php ../../composer.phar create-project --prefer-dist cakephp/app app

And I get this message:

[InvalidArgumentException]
Could not find package cakephp\app with stability stable.

Any idea ? Thanks!

1 Like

Hi,

You can change your folder name ‘app’ , Bcaz ‘app’ is reserved word. try this.

php …/…/composer.phar create-project --prefer-dist cakephp/app TryOtherName

Of course, I changed the name, it was just for the example :slight_smile:

I succeeded with the Oven (https://github.com/CakeDC/oven). Thanks anyway!

1 Like

download it directly from github -> extract to get full default CakePHP project