CakePHP 3.0 application template with Docker Compose file

3.5.0 2017-08-19 01:33 UTC


Build Status License

A skeleton for creating applications with CakePHP 3.x. using Docker

The framework source code can be found here: cakephp/cakephp.


  1. Install Composer using the recommended configuration.
  2. Run composer create-project --prefer-dist angelxmoreno/cakephp-skeleton [app_name].

You can now either use your machine's webserver to view the default home page, or start up the built-in webserver with:

bin/cake server -p 8765

Then visit http://localhost:8765 to see the welcome page.


There are a few changes from the original skeleton found at cakephp/app

1. Updated README to denote the usage of Docker
2. Deleted unused directories and files
    a. .github/
    b. config/.env.default
3. Moved .env.default to root
4. Removed files from .gitignore ( config/app is now commitable )
5. Created App\Console\CustomInstaller to generate:
    a. .env file if not found
    b. Security.Salt in .env
    c. App Name in .env
6. Created ENV_FILE constant


Read and edit config/app.php and setup the 'Datasources' and any other configuration relevant for your application.


The app skeleton uses a subset of Foundation CSS framework by default. You can, however, replace it with any other library or custom styles.