zynesis / cakephp-boilerplate
CakePHP boilerplate, as commonly used by Zynesis.
Requires
- cakephp/cakephp: ~2.4
- cakephp/debug_kit: 2.2.*@dev
- ceeram/clear_cache: 1.*
- twbs/bootstrap: 2.3.*
- zynesis/twitter-bootstrap-helper: dev-3.0-zynesis
This package is not auto-updated.
Last update: 2024-12-16 15:44:16 UTC
README
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
-
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!
Notes
-
Model recursiveness is set to -1 by default.
-
To clear cache, simply
Console/cake ClearCache.clear_cache
.
Credits
Loading of CakePHP via Composer is made possible thanks to Ceeram's idea.