https://github.com/markstory/cakefest2024-workshop
Application code used for my workshop at Cakefest 2024
https://github.com/markstory/cakefest2024-workshop
Last synced: 6 months ago
JSON representation
Application code used for my workshop at Cakefest 2024
- Host: GitHub
- URL: https://github.com/markstory/cakefest2024-workshop
- Owner: markstory
- Created: 2024-05-26T14:37:42.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-13T01:13:40.000Z (8 months ago)
- Last Synced: 2024-10-14T10:32:02.011Z (8 months ago)
- Language: PHP
- Size: 631 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CakePHP Application Skeleton

[](https://packagist.org/packages/cakephp/app)
[](https://github.com/phpstan/phpstan)A skeleton for creating applications with [CakePHP](https://cakephp.org) 5.x.
The framework source code can be found here: [cakephp/cakephp](https://github.com/cakephp/cakephp).
## 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 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](https://milligram.io/) (v1.3) minimalist CSS
framework by default. You can, however, replace it with any other library or
custom styles.