Pre-Configured Application Template for CakePHP 3
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
plugins/Api/V1
src
tests
webroot
.bowerrc
.editorconfig
.env.default
.eslintignore
.gitattributes
.gitignore
.gitlab-ci.yml
.htaccess
.travis.yml
Gruntfile.js
LICENSE.txt
README.md
app-template.png
bower.json
composer.json
index.php
package.json
phpstan.neon
phpunit.xml.dist

README.md

CakePHP 3 Notifications Plugin

Build Status License

Pre-Configured Application Template for CakePHP 3

Installation

This is just a brief installation guide. A much more detailed version will be available soon:

Use composer to install the package:

$ composer create-project scherersoftware/cake-app-template <project-name>

Stuff like MySQL user and password is configured by using PHP Dotenv. Be sure to set SESSION_COOKIE_NAME and MAIN_DOMAIN in the .env, as these values are mandatory for a correct session setup.

Next, setup your database. We're using cakephp/migrations for that:

$ bin/cake migrations migrate

Also run the migrations from Josegonzalez/CakeQueuesadilla, as we use this plugin to send out the restore password emails.

$ bin/cake migrations migrate -p Josegonzalez/CakeQueuesadilla

For the ModelHistory you have to run these migrations:

$ bin/cake migrations migrate -p ModelHistory

Now seed the database with a default user

$ bin/cake migrations seed

Default email: john.doe@example.com, default password: password

Be sure to have npm installed and make sure afterwards bower is installed globally:

$ npm install -g bower

Now we have to install some npm packages and the bower dependencies:

$ npm install

Install the bower dependencies:

$ bower install

Credits

This template is based on the CakePHP Application Skeleton

Also, we're using the following awesome open-source projects: