tsyama / cakephp-app-class-baker
AppClassBaker plugin for CakePHP
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Type:cakephp-plugin
Requires
- cakephp/cakephp: ^3.5
Requires (Dev)
- phpunit/phpunit: ^5.7.14|^6.0
This package is auto-updated.
Last update: 2024-04-29 04:09:04 UTC
README
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require tsyama/cakephp-app-class-baker --dev
Usage
1. Add to config/bootstrap.php
Plugin::load('AppClassBaker', ['bootstrap' => false, 'routes' => true]); Configure::write('Bake.theme', 'AppClassBaker');
2. Run bake command to create AppEntity/AppTable file
bin/cake bake app_model
3. Run bake command to create Entity/Table file (As usual!)
bin/cake bake model articles