CakePhp 3 - create new project


#1

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!


#2

Hi,

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


#3

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


#4

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!


#5

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