2017 © Pedro Peláez
 

project cake-app-template

scherer software CakePHP skeleton app

image

scherersoftware/cake-app-template

scherer software CakePHP skeleton app

  • Friday, September 1, 2017
  • by cleptric
  • Repository
  • 7 Watchers
  • 8 Stars
  • 277 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 23 Versions
  • 13 % Grown

The README.md

CakePHP 3 Notifications Plugin, (*1)

Build Status License, (*2)

Pre-Configured Application Template for CakePHP 3, (*3)

Installation

This is just a brief installation guide. A much more detailed version will be available soon:, (*4)

Use composer to install the package:, (*5)

$ composer create-project scherersoftware/cake-app-template <project-name>, (*6)

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., (*7)

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

$ bin/cake migrations migrate, (*9)

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

$ bin/cake migrations migrate -p Josegonzalez/CakeQueuesadilla, (*11)

For the ModelHistory you have to run these migrations:, (*12)

$ bin/cake migrations migrate -p ModelHistory, (*13)

Now seed the database with a default user, (*14)

$ bin/cake migrations seed, (*15)

Default email: john.doe@example.com, default password: password, (*16)

Be sure to have npm installed and make sure afterwards bower is installed globally:, (*17)

$ npm install -g bower

Now we have to install some npm packages and the bower dependencies:, (*18)

$ npm install

Install the bower dependencies:, (*19)

$ bower install, (*20)

Credits

This template is based on the CakePHP Application Skeleton, (*21)

Also, we're using the following awesome open-source projects: - CakePHP Framework - Asset Compress by Mark Story - Bootstrap UI by FriendsOfCake - CakePHP Glide by ADmad - PHP Dotenv by Jose Diaz-Gonzalez - JShrink by Robert Hafner - Assert by Benjamin Eberlei - CakePHP IdeHelper by Mark Scherer - PHPStan by Ondřej Mirtes - Mixer by CakeDC, (*22)

The Versions