PHPackages                             cakephp/bake - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. cakephp/bake

ActiveCakephp-plugin[Framework](/categories/framework)

cakephp/bake
============

Bake plugin for CakePHP

3.6.3(1mo ago)11211.2M—5.6%10020MITPHPPHP &gt;=8.1CI passing

Since Dec 15Pushed 1mo ago33 watchersCompare

[ Source](https://github.com/cakephp/bake)[ Packagist](https://packagist.org/packages/cakephp/bake)[ Docs](https://github.com/cakephp/bake)[ RSS](/packages/cakephp-bake/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (151)Used By (20)

Bake plugin for CakePHP
=======================

[](#bake-plugin-for-cakephp)

[![Build Status](https://github.com/cakephp/bake/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/cakephp/bake/actions/workflows/ci.yml/badge.svg?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/f215e865a07e470f6218a227554df8c865e04faa072bab8508b497e2b078adea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f63616b657068702f62616b653f736f72743d73656d766572267374796c653d666c61742d737175617265)](https://packagist.org/packages/cakephp/bake)[![Coverage Status](https://camo.githubusercontent.com/f0613c23724b1ad978207eb51bf3d45da0cb55eb1e2f159465e08912d4da4b0a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f63616b657068702f62616b652e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/cakephp/bake)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)

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
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require --dev cakephp/bake

```

Documentation
-------------

[](#documentation)

You can find the documentation for bake [on its own cookbook](https://book.cakephp.org/bake/3).

Testing
-------

[](#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
```

###  Health Score

76

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity64

Solid adoption and visibility

Community50

Growing community involvement

Maturity90

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~28 days

Recently: every ~11 days

Total

146

Last Release

54d ago

Major Versions

0.1.10 → 1.0.102015-06-25

1.12.0 → 2.0.02019-12-16

1.x-dev → 2.8.32023-02-21

2.9.3 → 3.0.02023-09-05

2.x-dev → 3.6.32026-03-21

PHP version history (5 changes)0.1.0PHP &gt;=5.4

1.2.1PHP &gt;=5.5.9

1.3.0PHP &gt;=5.6.0

2.0.0PHP &gt;=7.2

3.0.5PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23666?v=4)[CakePHP](/maintainers/cakephp)[@cakephp](https://github.com/cakephp)

---

Top Contributors

[![markstory](https://avatars.githubusercontent.com/u/24086?v=4)](https://github.com/markstory "markstory (1594 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (351 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (242 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (230 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (214 commits)")[![othercorey](https://avatars.githubusercontent.com/u/24221186?v=4)](https://github.com/othercorey "othercorey (130 commits)")[![phpnut](https://avatars.githubusercontent.com/u/148097?v=4)](https://github.com/phpnut "phpnut (127 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (86 commits)")[![antograssiot](https://avatars.githubusercontent.com/u/4977112?v=4)](https://github.com/antograssiot "antograssiot (61 commits)")[![jrbasso](https://avatars.githubusercontent.com/u/26548?v=4)](https://github.com/jrbasso "jrbasso (50 commits)")[![bcrowe](https://avatars.githubusercontent.com/u/752603?v=4)](https://github.com/bcrowe "bcrowe (44 commits)")[![predominant](https://avatars.githubusercontent.com/u/24568?v=4)](https://github.com/predominant "predominant (43 commits)")[![ravage84](https://avatars.githubusercontent.com/u/625761?v=4)](https://github.com/ravage84 "ravage84 (29 commits)")[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (26 commits)")[![ceeram](https://avatars.githubusercontent.com/u/111448?v=4)](https://github.com/ceeram "ceeram (25 commits)")[![saeideng](https://avatars.githubusercontent.com/u/8215801?v=4)](https://github.com/saeideng "saeideng (24 commits)")[![DSchalla](https://avatars.githubusercontent.com/u/5972329?v=4)](https://github.com/DSchalla "DSchalla (22 commits)")[![steinkel](https://avatars.githubusercontent.com/u/151761?v=4)](https://github.com/steinkel "steinkel (18 commits)")[![shama](https://avatars.githubusercontent.com/u/99604?v=4)](https://github.com/shama "shama (16 commits)")[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (15 commits)")

---

Tags

cakephpcakephp-plugincode-generationphpclidevcakephpbake

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cakephp-bake/health.svg)

```
[![Health](https://phpackages.com/badges/cakephp-bake/health.svg)](https://phpackages.com/packages/cakephp-bake)
```

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

86514.0M138](/packages/cakephp-debug-kit)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1862.1M27](/packages/dereuromark-cakephp-ide-helper)[cakephp/migrations

Database Migration plugin for CakePHP

13912.0M222](/packages/cakephp-migrations)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3492.1M32](/packages/friendsofcake-bootstrap-ui)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308850.3k14](/packages/dereuromark-cakephp-queue)[cakephp/localized

CakePHP Localized Plugin

218595.6k5](/packages/cakephp-localized)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
