|
|
6 дней назад | |
|---|---|---|
| .. | ||
| .github | 6 дней назад | |
| bin | 6 дней назад | |
| config | 6 дней назад | |
| plugins | 6 дней назад | |
| resources | 6 дней назад | |
| src | 6 дней назад | |
| templates | 6 дней назад | |
| tests | 6 дней назад | |
| webroot | 6 дней назад | |
| .editorconfig | 6 дней назад | |
| .gitattributes | 6 дней назад | |
| .gitignore | 6 дней назад | |
| .htaccess | 6 дней назад | |
| README.md | 6 дней назад | |
| composer.json | 6 дней назад | |
| composer.lock | 6 дней назад | |
| index.php | 6 дней назад | |
| phpcs.xml | 6 дней назад | |
| phpstan.neon | 6 дней назад | |
| phpunit.xml.dist | 6 дней назад | |
| psalm.xml | 6 дней назад | |
A skeleton for creating applications with CakePHP 5.x.
The framework source code can be found here: cakephp/cakephp.
composer self-update.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.
Check out the 5.x-demo branch, which contains demo migrations and a seeder. See the README on how to get it running.
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.
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.
The app skeleton uses Milligram (v1.3) minimalist CSS framework by default. You can, however, replace it with any other library or custom styles.
Powered by TurnKey Linux.