friendsofcake / crud-demo-app
CakePHP + CRUD + CRUD View + Search demo app
Installs: 346
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 11
Open Issues: 1
Type:project
Requires
- php: >=8.1
- cakephp/cakephp: ^5.1
- cakephp/migrations: ^4.4
- cakephp/plugin-installer: ^2.0
- friendsofcake/crud-view: ^0.50.0
- friendsofcake/search: ^7.0
- mobiledetect/mobiledetectlib: ^4.8.03
Requires (Dev)
- cakephp/bake: ^3.0.0
- cakephp/cakephp-codesniffer: ^5.1
- cakephp/debug_kit: ^5.0
- josegonzalez/dotenv: ^3.2
- phpunit/phpunit: ^10.5.5 || ^11.1.3
Suggests
- dereuromark/cakephp-ide-helper: After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan/Psalm compatibility.
- markstory/asset_compress: An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.
- phpstan/phpstan: PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.
This package is auto-updated.
Last update: 2024-11-17 16:17:06 UTC
README
Get the source code
composer
composer create-project -s dev friendsofcake/crud-demo-app
cd crud-demo-app
Setup the database
Modify config/app_local.php
in the Datasources
section to reflect your own database.
Create the database schema bin/cake migrations migrate
.
Seed the database bin/cake migrations seed
.
You can also import the config/schema/db.sql
file into your database instead of using the migrations.
Create a webserver
php -S 0.0.0.0:9999 -t webroot/ index.php
Access the website
Go to http://localhost:9999/posts