Download the PHP package thegallagher/cakephp-app-paas without Composer
On this page you can find all versions of the php package thegallagher/cakephp-app-paas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thegallagher/cakephp-app-paas
More information about thegallagher/cakephp-app-paas
Files in thegallagher/cakephp-app-paas
Package cakephp-app-paas
Short Description CakePHP skeleton app for Paas / Heroku
License MIT
Homepage https://github.com/thegallagher/cake-app-paas
Informations about the package cakephp-app-paas
CakePHP Application Skeleton for PaaS / Heroku
This is a fork of CakePHP Application Skeleton.
A skeleton for creating applications with CakePHP 3.0.
The framework source code can be found here: cakephp/cakephp.
Installation
- Download Composer or update
composer self-update
. - Run
php composer.phar create-project --prefer-dist thegallagher/cakephp-app-paas [app_name]
.
If Composer is installed globally, run
You should now be able to visit the path to where you installed the app and see the setup traffic lights.
Configuration
Configuration is done with environment variables or in config/.env
.
You can read config/.env
for information on the available variables.
If you followed the above installation instructions to create your project, you will be asked to create config/.env
.
If you were not in interactive mode, you will need to use environment variables or cp config/default.env config/.env
.
You may use any of the constants in config/paths.php
by
prefixing and suffixing the constant with two underscores (__
).
Eg. To use the LOGS
constant, write __LOGS__
in the environment variable.
Deploying to Heroku
Make sure you have the Heroku toolbelt installed and logged in.
If you haven't already, create your repository:
Create the app:
Create a MySQL database:
Configure logs:
Notes
- If you require multiple instances of your web process, you will need to configure your sessions to use database or cache.
Credits
- Most of the code in this repository is from CakePHP Application Skeleton.
- A lot of ideas and code borrowed from Friends Of Cake App Template.
All versions of cakephp-app-paas with dependencies
cakephp/cakephp Version ~3.0
mobiledetect/mobiledetectlib Version 2.*
cakephp/migrations Version ~1.0
cakephp/plugin-installer Version *
vlucas/phpdotenv Version *