cerebrate/app
iglocska c07ca4c267
new: [internal] appcontroller/appmodel updates
2020-06-09 15:59:30 +02:00
..
INSTALL new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
bin new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
config new: [encryption keys] Encryption key management added 2020-06-04 10:05:45 +02:00
plugins new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
resources new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
src new: [internal] appcontroller/appmodel updates 2020-06-09 15:59:30 +02:00
templates new: [menu] centralised top and side menu 2020-06-08 14:11:20 +02:00
tests new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
webroot new: [encryption keys] Encryption key management added 2020-06-04 10:05:45 +02:00
.editorconfig new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
.gitattributes new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
.gitignore new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
.htaccess new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
README.md new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
composer.json new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
composer.lock new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
index.php new: [initial] import of the project files 2020-05-29 13:41:58 +02:00
phpunit.xml.dist new: [initial] import of the project files 2020-05-29 13:41:58 +02:00

README.md

CakePHP Application Skeleton

Build Status Total Downloads PHPStan

A skeleton for creating applications with CakePHP 4.x.

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

Installation

  1. Download Composer or update composer self-update.
  2. Run php composer.phar create-project --prefer-dist cakephp/app [app_name].

If Composer is installed globally, run

composer create-project --prefer-dist cakephp/app

In case you want to use a custom app dir name (e.g. /myapp/):

composer create-project --prefer-dist cakephp/app myapp

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.

Update

Since this skeleton is a starting point for your application and various files would have been modified as per your needs, there isn't a way to provide automated upgrades, so you have to do any updates manually.

Configuration

Read and edit the environment specific config/app_local.php and setup the 'Datasources' and any other configuration relevant for your application. Other environment agnostic settings can be changed in config/app.php.

Layout

The app skeleton uses Milligram (v1.3) minimalist CSS framework by default. You can, however, replace it with any other library or custom styles.