The CakePHP core team have just announced the immediate availability of CakePHP 4.2.4. This is a maintenance release for the 4.2 branch that fixes several community reported issues. All users of CakePHP 4.2 branch are encouraged to upgrade to this version. CakePHP 4 is as tasty as other major CakePHP releases but will now require you to use PHP 7.2. With a refreshed application skeleton design, the framework comes with a streamlined API making your development and application faster.


You can expect the following changes in 4.2.4. See the changelog for every commit.

cakephp 4.2.4
  • Fix bin/cake routes check not handling redirect routes correctly.
  • Removed a connection flag from the SQLServer driver that is incompatible with new versions of SQLServer.
  • Improved API documentation.
  • Console TableHelper now accepts integers and floats as cell values.
  • Updated documentation for ServerRequest::is() to allow mixed.
  • Improved PHP8 compatibility for silenced errors.
  • Aligned Entity::isEmpty() and Entity::hasValue() to treat '0' as a non-empty value. This aligns the behavior with documentation and original intent.
  • DatabaseSession now uses the session table’s entity when creating/deleting records.
  • Fixed path handling in FileCache to prevent deleting an empty paths.

Contributors to CakePHP 4.2.4

This release is made available thanks to the contributions of :

  • ADmad
  • AdmDevelopment
  • Alexander Volle
  • Mark Story
  • mirko-pagliai
  • mtak3
  • ndm2
  • othercorey

CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. Released under an MIT license.


Please enter your comment!
Please enter your name here