nojimage / cakephp-mybake
Custom Bake Template for CakePHP
Installs: 885
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- cakephp/cakephp: ^3.4
Requires (Dev)
- phpunit/phpunit: ^5.7|^6.0
This package is auto-updated.
Last update: 2024-10-29 05:04:55 UTC
README
- Table: Support
created_at
,updated_at
column, set the Timestamp behavior. - Entity: Support database column comment, append the comments to
@property
.
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require --dev nojimage/cakephp-mybake
in config/bootstrap_cli.php
Plugin::load('MyBake', ['bootstrap' => true]);
Usage
bin/cake bake model {all|ModelName} -t MyBake --no-fixture
bin/cake bake fixture {all|ModelName} -t MyBake --schema
License
This software is released under the MIT License.
Copyright (c) 2017 ELASTIC Consultants Inc. https://elasticconsultants.com/