cakephp /cakephp
CakePHP: The Rapid Development Framework for PHP - Official Repository
★ 8,798⑂ 3,352👁 511⑃ 12,561● 6,895▤ 475
-1
日增长
8,798
stars
3,352
forks
511
watchers
12,561
prs
6,895
issues
475
releases
README
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. Installing CakePHP via Composer You can install CakePHP into your project using Composer. If you're starting a new project, we recommend using the app skeleton as a starting point. For existing applications you can run the following: bash composer require cakephp/cakephp For details on the (minimum/maximum) PHP version see version map. Running Tests Assuming you have PHPUnit installed (composer install), you can run the tests for CakePHP by doing the following: 1. Copy phpunit.xml.dist to phpunit.xml. 2. Add the relevant database credentials to your phpunit.xml if you want to run tests against a non-SQLite datasource. 3. Run vendor/bin/phpunit. Learn More CakePHP - The home of the CakePHP project. Book - The CakePHP documentation; start learning here! API - A reference to CakePHP's classes and API documentation. Awesome CakePHP - A curated list of featured resources around the framework. The Bakery - Tips, tutorials and articles. Community Center - A source for everything community related. Training - Join a live session and get skilled with the framework. CakeFest - Don't miss our annual CakePHP conference. Cake Software Foundation - Promoting development related to CakePHP. Get Support! Slack - Join us on Slack. Discord - Join us on Discord. cakephp on irc.freenode.net - Come chat with us, we have cake. Forum - Official CakePHP forum. GitHub Issues - Got issues? Please tell us! Roadmaps - Want to contribute? Get involved! Contributing CONTRIBUTING.md - Quick pointers for contributing to the CakePHP project. CookBook "Contributing" Section - Details about contributing to the project. Security If you’ve found a security issue in CakePHP, please use the procedure described in SECURITY.md.
Top issues
#18083RFC - 6.0 - Don't nest input inside label by default for checkboxes/radios13 comments · 2024-12-13#19165RFC: Move certain exception handling outside ErrorHandlerMiddleware8 comments · 2026-01-01#19509RFC – 6.0 – Routing: reduce string-magic by instead using class/method references7 comments · 2026-06-18#19482RFC: Make find() always return entities — explicit type-tracked reshaping via map()6 comments · 2026-05-30#19575Machine-readable version lifecycle data for the Supported Versions page4 comments · 2026-08-01#19557parseDsn() does not URL-decode username/password, breaking encoded DSN credentials3 comments · 2026-07-21#19535Support for HTTP QUERY method3 comments · 2026-07-10#19775`FunctionsBuilder::cast()` rejects valid SQL types with modifiers since the CVE-2026-79752 fix2 comments · 2026-11-09
Latest release
CakePHP 5.4.4 5.4.4 2026-11-01The CakePHP core team is happy to announce the immediate availability of CakePHP 5.4.3. This is a maintenance release for the 5.4 branch that fixes security issues, community reported issues, regressions. The security fixes have also been released as 5.2.16, 5.3.8. Security advisories will be released in the upcoming days as they are assigned CVE numbers. Bugfixes -------- You can expect the following changes in 5.4.4. See the changelog for every commit. Added PHP 8.6 to the CI matrix. Improved test coverage for global functions. Improved behavior of hasTable() with MySQL and mi