Maintained Plugins
The Piece of Cake 2 project maintains the framework fork together with related repositories and forks of popular CakePHP 2 plugins. All maintained plugins are compatible with PHP 8.x, and their CI checks them with PHPStan at level 5. Names link to the documentation site of each package, or to the GitHub repository where the package has no documentation site. "Markdown" links to the Markdown source of the documentation on GitHub, which AI tools can read directly.
Core repositories
- CakePHP - CakePHP 2.x framework
- App Skeleton (Markdown) - Application skeleton
- Plugin Skeleton - Plugin skeleton
- Bake Plugin (Markdown) - Code generation tool
- Upgrade Plugin (Markdown) - Upgrade utility (CakePHP 1.3 to 2.0)
Development tools
- PHPStan CakePHP (Markdown) - PHPStan extension for static analysis (see Static Analysis)
- PHPCS CakePHP2 (Markdown) - PHP_CodeSniffer standard for CakePHP 2 (see Coding Standards)
- Panther (Markdown) - End-to-End tests with Symfony Panther (see End-to-End Testing)
Maintained plugins
Debugging
- DebugKit Plugin (Markdown) - Debug toolbar
Infrastructure
- Aws Plugin (Markdown) - AWS SDK integration
- AsyncAws Plugin (Markdown) - AsyncAws integration, a lighter alternative to the Aws plugin
- Bref Plugin - AWS Lambda deployment with Bref
Logging & Monitoring
- Monolog Plugin (Markdown) - Monolog integration
- Sentry Plugin (Markdown) - Error tracking and monitoring
Templating
- TwigView Plugin (Markdown) - Twig template engine
- CsvView Plugin (Markdown) - CSV view class
View Helpers
- Markdown Plugin (Markdown) - Markdown helper
- MenuBuilder Plugin (Markdown) - Navigation menu helper
- Vite Plugin (Markdown) - Vite asset helper with dev server support
- WebpackEncore Plugin (Markdown) - Webpack Encore asset helper
Forms & Validation
- Xform Plugin (Markdown) - Extended form helper
- Cakeplus Plugin (Markdown) - Form utilities and enhancements
- Captcha Plugin (Markdown) - CAPTCHA widget and server-side verification with Cloudflare Turnstile (default), Google reCAPTCHA v2/v3 or hCaptcha
Database
- Datasources Plugin (Markdown) - Additional datasources (CSV / TSV files, arrays and more)
Authentication and Authorization
- Authenticate Plugin (Markdown) - Authentication classes
- AclExtras Plugin (Markdown) - Console tools for managing ACL tables
Files
- Upload Plugin (Markdown) - File upload handling
- Imagine Plugin (Markdown) - Image processing library wrapper
- CakePdf Plugin (Markdown) - PDF generation
SEO
- Seo Plugin (Markdown) - Search engine optimization
- Sitemap Plugin (Markdown) - Sitemap generation
I18n
- Localized Plugin (Markdown) - Localization utilities
Installing a plugin
Install plugins with Composer and load them as usual with CakePlugin::load(). See each plugin's documentation site for the package name and setup. With the modern layout, Composer installs plugins into plugins/ through the installer-paths setting.
Plugins that don't support Composer autoloading still need App::uses() for their classes, for example App::uses('MyPluginHelper', 'MyPlugin.View/Helper').
Origins
Most of these packages continue an existing CakePHP project. The table lists where each one comes from: a fork continues the history of the original repository, a package based on another project was extracted from it, and an original package was created by pieceofcake2. The README of each package has the same information in its Origin section, and its LICENSE file keeps the copyright notices of the original authors.
| Package | Origin | Original authors | Last upstream version |
|---|---|---|---|
| pieceofcake2/cakephp | Fork of cakephp/cakephp, with the PHP 8 work of kamilwylegala/cakephp2-php8 | CakePHP community (Cake Software Foundation, Inc.) | 2.10.24 |
| pieceofcake2/app | Based on cakephp/cakephp (app/) | CakePHP community (Cake Software Foundation, Inc.) | 2.10.24 |
| pieceofcake2/plugin | Original | - | - |
| pieceofcake2/bake | Based on cakephp/cakephp (BakeShell) | CakePHP community (Cake Software Foundation, Inc.) | 2.10.24 |
| pieceofcake2/upgrade | Based on cakephp/cakephp (UpgradeShell) | CakePHP community (Cake Software Foundation, Inc.) | 2.10.24 |
| pieceofcake2/phpstan-cakephp2 | Fork of sidz/phpstan-cakephp2 | Oleg Zhulnev | 0.2.0 |
| pieceofcake2/phpcs-cakephp2 | Original | - | - |
| pieceofcake2/panther | Original | - | - |
| pieceofcake2/debug_kit | Fork of cakephp/debug_kit | Mark Story and the CakePHP community (Cake Software Foundation, Inc.) | 2.2.9 |
| pieceofcake2/aws | Original | - | - |
| pieceofcake2/async-aws | Original | - | - |
| pieceofcake2/bref | Original | - | - |
| pieceofcake2/monolog | Fork of jadb/cakephp-monolog | Jad Bitar | 2.0.0 |
| pieceofcake2/sentry | Original | - | - |
| pieceofcake2/twig-view | Fork of predominant/TwigView | Kjell Bublitz and Graham Weldon | v0.6 |
| pieceofcake2/csv-view | Fork of FriendsOfCake/cakephp-csvview | Jose Diaz-Gonzalez | 1.3.0 |
| pieceofcake2/markdown | Fork of chronon/CakePHP-Markdown-Plugin | Gregory Gaskill | 2.1.0 |
| pieceofcake2/menu_builder | Fork of torifat/cake-menu_builder | Rifat Nabi | v2.0.3 |
| pieceofcake2/vite | Original | - | - |
| pieceofcake2/webpack-encore | Original | - | - |
| pieceofcake2/xform | Fork of ichikaway/xformHelper | Yasushi Ichikawa | 2.0.0 |
| pieceofcake2/cakeplus | Fork of ichikaway/cakeplus | Yasushi Ichikawa | v2.0 |
| pieceofcake2/captcha | Original | - | - |
| pieceofcake2/datasources | Fork of cakephp/datasources | CakePHP community (Cake Software Foundation, Inc.) | commit b741921 (master) |
| pieceofcake2/authenticate | Fork of FriendsOfCake/Authenticate | M. Ypes (Ceeram) | 1.0.2 |
| pieceofcake2/acl_extras | Fork of markstory/acl_extras | Mark Story | 1.2.1 |
| pieceofcake2/upload | Fork of FriendsOfCake/cakephp-upload | Jose Diaz-Gonzalez | 1.3.1 |
| pieceofcake2/imagine | Fork of burzum/cakephp-imagine-plugin | Florian Krämer | 1.0.6 |
| pieceofcake2/cakepdf | Fork of FriendsOfCake/CakePdf | Ceeram | 1.0.3 |
| pieceofcake2/seo | Fork of webtechnick/CakePHP-Seo-Plugin | Nick Baker, Alan Blount and Matt Reishus | v6.1.0 |
| pieceofcake2/sitemap | Fork of loadsys/CakePHP-Sitemap | Loadsys Web Strategies | 1.0.2 |
| pieceofcake2/localized | Fork of cakephp/localized | CakePHP community (Cake Software Foundation, Inc.) | 2.7.0 |
| pieceofcake2/docs | Fork of cakephp/docs | CakePHP community (Cake Software Foundation, Inc.) | commit 6b9d755 (2.x) |
| pieceofcake2/docs-skeleton | Fork of cakephp/docs-skeleton | CakePHP community (Cake Software Foundation, Inc.) | commit f256691 (main) |
Contributing
The project welcomes bug reports (especially PHP 8.x compatibility issues), security vulnerability reports and pull requests.
