Repository navigation
v2.4.2
Note
The skeleton is the starting point of new applications: existing applications are not changed by this release, but can copy the parts they need. If you do, note that a .env file is now required and that DEBUG defaults to 0.
.env Files (PR #31)
- The first file that exists is loaded, and the files are not merged:
.env.{APP_ENV}.local,.env.{APP_ENV},.env.local,.env, each checked inconfig/and then in the project root. Real environment variables are not overwritten.config/core.phppasses the list to the josegonzalez/dotenv Loader instead of a hand-written loop - A
.envfile is required: copyconfig/.env.exampletoconfig/.env. In production, deploy an emptyconfig/.envand set real environment variables config/.env.testsets every variable of the tests;config/.env.test.localreplaces it.gitignorealso ignores.env.localand.env.*.localin the project root
Debug Level
DEBUGdefaults to0when not set, and is passed toConfigureas it is (0,1or2;true/falseare no longer converted).config/.env.examplesetsDEBUG="0"
Configuration Comments
- The comments added to
config/are trimmed back to the style of CakePHP, and the notes about pieceofcake2/cakephp versions older than the required 2.12.7 are removed
Installation
composer create-project pieceofcake2/app my_appFull Changelog: v2.4.1...v2.4.2