Latest in branch 5.3
5.3.6
Released 23 May 2026
(18 days ago)
SoftwareCakePHP
Version5.3
Status
Supported
Supported
PHP versions
PHP 8.2+
Initial release5.3.0
10 Jan 2026
(5 months ago)
Latest release5.3.6
23 May 2026
(18 days ago)
End of security fixesTBD
(Supported)
Release noteshttps://github.com/cakephp/cakephp/releases/tag/5.3.6
Source codehttps://github.com/cakephp/cakephp/tree/5.3.6
Documentationhttps://book.cakephp.org/5/en/index.html
Downloadhttps://book.cakephp.org/5/en/installation.html
CakePHP 5.3 ReleasesView full list

What is New in CakePHP 5.3

CakePHP 5.3 raises the minimum PHP requirement to 8.2 and adds practical enhancements across the framework. It improves pagination and sorting, supports Redis clusters for caching, introduces rate limiting middleware, and provides better tools for dependency injection, database queries, and testing. This release also includes several behavior changes for greater consistency.

Minimum PHP Requirement

CakePHP 5.3 now requires PHP 8.2 or higher. This allows the framework to use modern PHP features while ensuring better performance and security.

Pagination and Sorting Improvements

A new fluent interface makes defining sortable fields easier and more powerful.

  • SortableFieldsBuilder lets you map user-friendly sort keys to database fields.
  • Support for multi-column sorting and locked directions with SortField.
  • Combined sort keys in URLs, like ?sort=title-asc.

Cache and Middleware

  • Redis cache engine now supports clusters via the cluster configuration option.
  • New RateLimiterMiddleware in Cake\Http\Middleware for controlling request rates.

Database and ORM Enhancements

  • Query::optimizerHint() to add engine-specific hints.
  • New database types: year, inet, cidr, and macaddr.
  • TableContainer for dependency injection of ORM tables.
  • strictFields option in entity creation and marshalling to limit validation.
  • New validation rules: ipOrRange() and existsInNullable().

Console and Development Tools

  • cake plugin assets symlink supports --relative for relative paths.
  • cake server --frankenphp starts the server with FrankenPHP.
  • Configure attribute for injecting values into constructors.

View and Helper Updates

  • HtmlHelper::scriptStart() and scriptEnd() wrap inline scripts properly.
  • StringTemplate::addClassNames() for easier class management.
  • Improved form handling with nested checkboxes and radios by default.

Testing Improvements

  • New assertions: assertRedirectBack(), assertRedirectBackToReferer(), assertFlashMessageContains(), and assertFlashMessageContainsAt().
  • TestFixture::$tableAlias for custom table aliases.

Deprecations

  • Query::newExpr(): Use Query::expr() instead.
  • Form::_execute(): Rename to process().
  • $request->getParam('?'): Use $request->getQueryParams().
  • Direct behavior method calls on tables: Use getBehavior() instead.
  • EntityTrait::isEmpty(): Use hasValue().
  • Loading plugins without a plugin class is deprecated.

Breaking Changes and Migration Notes

Area Change
PHP Requirement Must use PHP 8.2 or higher
Core Use deleteConfig() instead of setting config to null in some traits
Query with() now accepts arrays consistently
ORM joinWith() overwrites conflicting joins
Validation Validator::validate() has a new context parameter
View Number helpers handle null inputs differently

Why Upgrade to CakePHP 5.3

CakePHP 5.3 brings modern requirements and useful features that make development smoother and applications more robust. With improved sorting, caching, and testing tools, it helps teams build scalable web apps efficiently while preparing for future versions.

Releases In Branch 5.3

VersionRelease date
5.3.623 May 2026
(18 days ago)
5.3.508 May 2026
(1 month ago)
5.3.417 Apr 2026
(1 month ago)
5.3.319 Mar 2026
(2 months ago)
5.3.225 Feb 2026
(3 months ago)
5.3.115 Jan 2026
(4 months ago)
5.3.010 Jan 2026
(5 months ago)
5.3.0-RC214 Dec 2025
(5 months ago)
5.3.0-RC109 Nov 2025
(7 months ago)