https://github.com/astechedu/cakephp4
CakePHP4 For Beginners
https://github.com/astechedu/cakephp4
cakephp cakephp-framework cakephp4 php
Last synced: about 1 month ago
JSON representation
CakePHP4 For Beginners
- Host: GitHub
- URL: https://github.com/astechedu/cakephp4
- Owner: astechedu
- Created: 2021-01-31T05:08:16.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-08T05:09:23.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T01:49:16.460Z (11 months ago)
- Topics: cakephp, cakephp-framework, cakephp4, php
- Language: PHP
- Homepage:
- Size: 342 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# CakePHP Application Skeleton
## Installation
1. Download [Composer](https://getcomposer.org/doc/00-intro.md) or update `composer self-update`.
2. Run `php composer.phar create-project --prefer-dist cakephp/app [app_name]`.
If Composer is installed globally, run
```bash
composer create-project --prefer-dist cakephp/app
```
In case you want to use a custom app dir name (e.g. `/myapp/`):
```bash
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:
```bash
bin/cake server -p 8080
```
Then visit `http://localhost:8080` 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](https://milligram.io/) (v1.3) minimalist CSS
framework by default. You can, however, replace it with any other library or
custom styles.