nojimage/cakephp-mybake

Custom Bake Template for CakePHP

Installs: 868

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:cakephp-plugin

v1.0.0 2017-06-07 10:31 UTC

This package is auto-updated.

Last update: 2024-03-29 03:19:39 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/

http://opensource.org/licenses/mit-license.php