A convenient way to install CakePHP with Composer.
curl https://raw.github.com/shama/eatcake/master/bin/oneline.sh | bash -s NewCakeApp
- Install Composer with:
curl -s https://getcomposer.org/installer | php
- Then create a new project with:
php composer.phar create-project shama/eatcake path/
Update CakePHP later with: php composer.phar update
from inside your project directory.
Using Composer, this will download CakePHP and set it up. The CakePHP core will
be located in the vendor/cakephp/cakephp/lib/Cake
folder. The included
index.php
file wil set the CAKE_CORE_INCLUDE_PATH
to that folder.
This uses the official CakePHP repository (look in the composer.json).
Brought to you by chicken shawarma!