/app-template

An empty 2.4 cakephp application template, for use with composer

Primary LanguagePHP

App Template

An empty CakePHP project for use with composer

Installation

composer -sdev create-project friendsofcake/app-template ProjectName

This will create a new project, with dependencies, based on this repository. Be sure to point the webserver at the app/webroot folder (a production install), ensure that url rewriting is configured correctly.

Non-default Configuration

By default, the following has been enabled:

  • Composer Autoloading
  • Setting Timezone to UTC

You may change either of these at your leisure.

Note about dependencies

FriendsOfCake encourages the use of composer and it's best not to mix composer with git submodules for dependency management. If you need to use submodules you might notice /vendor and /Plugin folders are ignored by git. Composer creates those directories when installing vendors and plugins.

There a few ways to solve this:

  • edit the .gitignore file
  • use the -f param with git add Plugin/SomePlugin -f
  • use app/Plugin and app/Vendor for your submodules.