cakephp/bake

Bake plugin for CakePHP

Maintainers

👁 cakephp

Package info

github.com/cakephp/bake

Forum

Type:cakephp-plugin

pkg:composer/cakephp/bake

Statistics

Installs: 11 875 318

Dependents: 177

Suggesters: 7

Stars: 112

Open Issues: 0

3.7.1 2026-06-15 14:25 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT a56cd814cbf99589444bd87217ed9de5bca56239

clicakephpdevbake

This package is auto-updated.

Last update: 2026-06-15 14:27:24 UTC


README

👁 Build Status
👁 Latest Stable Version
👁 Coverage Status
👁 License

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