Download the PHP package lancers/cakephp-generation-gap-pattern-model-baker without Composer
On this page you can find all versions of the php package lancers/cakephp-generation-gap-pattern-model-baker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lancers/cakephp-generation-gap-pattern-model-baker
More information about lancers/cakephp-generation-gap-pattern-model-baker
Files in lancers/cakephp-generation-gap-pattern-model-baker
Package cakephp-generation-gap-pattern-model-baker
Short Description GenerationGapModelBaker plugin for CakePHP4
License MIT
Homepage https://github.com/LancersDevTeam/cakephp-generation-gap-pattern-model-baker
Informations about the package cakephp-generation-gap-pattern-model-baker
GenerationGapModelBaker plugin for CakePHP4
This is a plugin that uses the Generation gap pattern to realize bakeable Model operations.
The automatic generation tool creates only superclasses. And humans do not modify it. Humans create subclasses of that class. The auto-generator does not manipulate those subclasses.
Generation gap Pattern Reference (Japanese)
http://www.hyuki.com/dp/dpinfo.html#GenerationGap
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
To install with composer.json
, add the following
Usage
1. Add to bootstrap_cli.php
Add config to load custom template.
2. Add to Application.php
This is not necessary in the runtime environment, so addPlugin at debug time.
3. Run bake command to create Models
In the case of the examples table, a Model file will be created as follows.