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.
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 withgit add Plugin/SomePlugin -f
- use
app/Plugin
andapp/Vendor
for your submodules.