Skip to content

cakephp/app

Folders and files

NameName
Last commit message
Last commit date
Aug 30, 2024
Oct 4, 2023
Mar 22, 2025
Feb 26, 2019
Feb 26, 2019
Mar 22, 2025
Nov 6, 2024
Sep 17, 2024
Feb 26, 2019
Feb 26, 2019
Jan 25, 2025
Oct 2, 2022
Apr 9, 2023
Jun 1, 2023
Oct 17, 2017
Nov 4, 2024
Mar 31, 2025
Jun 22, 2017
Jul 30, 2023
Nov 10, 2023
May 31, 2023
Dec 27, 2023

Repository files navigation

CakePHP Application Skeleton

Build Status Total Downloads PHPStan

A skeleton for creating applications with CakePHP 5.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 set up 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.