zynesis/cakephp-boilerplate

CakePHP boilerplate, as commonly used by Zynesis.

dev-master 2014-12-06 15:14 UTC

This package is not auto-updated.

Last update: 2024-11-18 15:24:51 UTC


README

CakePHP Boilerplate for Zynesis projects.

Loaded with the following goodies:

  1. Composer
  2. CakePHP 2.x (loaded via Composer)

CakePHP plugins:

  1. ClearCache
  2. DebugKit
  3. TwitterBootstrapHelper (Zynesis fork)

Other vendor packages:

  1. Bootstrap 2.3

Set up

  1. 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.

  2. Make these dirs and files writable by web server:

    chmod -R 777 tmp
  3. 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 and local.php with your local settings

  4. Point DocumentRoot (or equivalent) of your web server to webroot/. Enjoy!

Notes

  1. Model recursiveness is set to -1 by default.

  2. To clear cache, simply Console/cake ClearCache.clear_cache.

Credits

Loading of CakePHP via Composer is made possible thanks to Ceeram's idea.