cakephp / bake
Bake plugin for CakePHP
Installs: 8 901 348
Dependents: 166
Suggesters: 6
Security: 0
Stars: 112
Watchers: 37
Forks: 102
Open Issues: 4
Type:cakephp-plugin
Requires
- php: >=8.1
- brick/varexporter: ^0.5.0
- cakephp/cakephp: ^5.1
- cakephp/twig-view: ^2.0.0
- nikic/php-parser: ^5.0.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ^5.0.0
- cakephp/debug_kit: ^5.0.0
- phpunit/phpunit: ^10.5.5 || ^11.1.3
- 3.x-dev
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.9.3
- 2.8.3
- 2.8.2
- 2.8.1
- 2.8.0
- 2.8.0-RC1
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.12.0
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.10
- 0.1.0
- dev-3.next
- dev-3.next-merge
This package is auto-updated.
Last update: 2024-12-14 00:28:49 UTC
README
This project provides the code generation functionality for CakePHP. Through a suite of CLI tools, you can quickly and easily generate code for your application.
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require --dev cakephp/bake
Documentation
You can find the documentation for bake on its own cookbook.
Testing
After installing dependencies with composer you can run tests with phpunit
:
vendor/bin/phpunit
If your changes require changing the templates that bake uses, you can save time updating tests, by enabling bake's 'overwrite fixture feature'. This will let you re-generate the expected output files without having to manually edit each one:
UPDATE_TEST_COMPARISON_FILES=1 vendor/bin/phpunit