CakePHP Boilerplate for Zynesis projects.
Loaded with the following goodies:
- Composer
- CakePHP 2.x (loaded via Composer)
CakePHP plugins:
- ClearCache
- DebugKit
- TwitterBootstrapHelper (Zynesis fork)
Other vendor packages:
-
Set up a new project directly via Composer
composer create-project -s dev zynesis/cakephp-boilerplate my-cakephp-project
If you do not yet have Composer installed on your system, follow the guide here on how to install Composer.
-
Make these dirs and files writable by web server:
chmod -R 777 tmp
-
Set up database and other local settings
cp Config/database.php.default Config/database.php cp Config/local.php.default Config/local.php
Edit
database.php
andlocal.php
with your local settings -
Point
DocumentRoot
(or equivalent) of your web server towebroot/
. Enjoy!
-
Model recursiveness is set to -1 by default.
-
To clear cache, simply
Console/cake ClearCache.clear_cache
.
Loading of CakePHP via Composer is made possible thanks to Ceeram's idea.