scherersoftware / cake-app-template
scherer software CakePHP skeleton app
Installs: 379
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 6
Forks: 7
Open Issues: 1
Type:project
Requires
- php: >=7.1.0
- admad/cakephp-glide: 2.0.*
- beberlei/assert: 2.6.
- cakephp/bake: ~1.2
- cakephp/cakephp: 3.4.*
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- codekanzlei/cake-attachments: 1.1.*
- codekanzlei/cake-auth-actions: 1.0.*
- codekanzlei/cake-bootstrap3: 1.1.*
- codekanzlei/cake-cktools: 1.2.*
- codekanzlei/cake-frontend-bridge: 1.4.*
- codekanzlei/cake-list-filter: 1.3.*
- codekanzlei/cake-model-history: 2.2.*
- codekanzlei/cake-notifications: v2.2.*
- friendsofcake/bootstrap-ui: 1.2.*
- josegonzalez/dotenv: 2.0.*
- markstory/asset_compress: 3.2.*
- mobiledetect/mobiledetectlib: 2.*
- scherersoftware/cake-api-baselayer: 1.0.*
- scherersoftware/cake-language-switcher: 1.0.*
- scherersoftware/cake-monitor: 1.2.*
- scherersoftware/cakephp-schema: 1.0.*
- tedivm/jshrink: 1.1.*
Requires (Dev)
- cakedc/mixer: ^1.1
- cakephp/bake: ~1.1
- cakephp/cakephp-codesniffer: ~3.0
- cakephp/debug_kit: ~3.2
- dereuromark/cakephp-ide-helper: ~0.8
- phpstan/phpstan: ~0.7
- phpunit/phpunit: ~6.0
- psy/psysh: @stable
- scherersoftware/coding-standard: ~3.0
This package is not auto-updated.
Last update: 2020-01-24 16:35:00 UTC
README
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: