NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2622 most downloaded on Packagist
CakePHP plugin extension for PHPStan.
Latest stable
4.3.0
Last release 6 months ago
21 May 2026
Release timing varies
gaps range from 3 weeks to 1.7 years
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
17 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Narrow Cake\ORM\Association::find() return to SelectQuery by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/68
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/4.2.0...4.3.0
Ignore deprecated method warnings in test_app PHPStan config by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/67
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/4.1.1...4.2.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
SelectQueryFindListReturnTypeExtension: Provides proper return type inference for find('list')->toArray(), returning array<int|string, string> instead of the generic entity array type. Works with chained queries (where(), orderBy(), limit(), etc.).groupField support for find('list'): When groupField is provided to find('list'), the return type is correctly inferred as array<int|string, array<int|string, string>>.cakeDC.appNamespace configuration parameter (defaults to App).Fix up Reflection. by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/56
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/4.1.0...4.1.1
DisallowEntityArrayAccessRule: ignore custom (non-integer) array access keys, allowing legitimate use cases.Fix up badges by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/41
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/4.0.0...4.1.0
ControllerMethodMustBeUsedRule: enforces that render() and redirect() must be used (returned or assigned) to prevent unreachable code.Upgrade to PHPStan 2.0 by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/39
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/3.2.0...4.0.0
Update composer.json by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/34
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/3.1.2...3.2.0
Backward compatibility with CakePHP 4 finder structure by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/31
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/3.1.1...3.1.2
Issue/cakephp rule accept set classname by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/29
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/3.1.0...3.1.1
Feature/fetch table with default table by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/19
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/3.0.1...3.1.0
Update ConsoleHelperLoadDynamicReturnTypeExtension.php by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/18
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/3.0.0...3.0.1
Prep a 5.x branch by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/11
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/2.0.1...3.0.0
Backport of TableAssociationTypeNodeResolverExtension for cakephp 4 by @Harfusha in https://github.com/CakeDC/cakephp-phpstan/pull/37
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/2.0.1...2.1.0
Provide correct return type for Cake\Console\ConsoleIo::helper() by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/10
Cake\Console\ConsoleIo::helper() by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/10{Base}\Shell\Helper and {Base}\Commnd\Helper namespaces by @rochamarcelo in https://github.com/CakeDC/cakephp-phpstan/pull/10Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/2.0.0...2.0.1
update to PHPStan 1.0 and fix new errors by @LordSimal in https://github.com/CakeDC/cakephp-phpstan/pull/4
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/1.0.2...2.0.0
Add 4.3 fetchTable() resolution by @dereuromark in https://github.com/CakeDC/cakephp-phpstan/pull/2
Full Changelog: https://github.com/CakeDC/cakephp-phpstan/compare/1.0.1...1.0.2
Added info about phpstan extension installer
Provide correct return type \Cake\ORM\Locator\LocatorInterface::get
\Cake\ORM\Locator\LocatorInterface::getCake\Controller\Controller::loadModelCake\Controller\Controller::loadComponentCake\Command\Command::loadModelCake\Console\Shell::loadModelCake\Mailer\Mailer::loadModelCake\View\Cell::loadModelCake\Console\Shell::helperOne column per quarter.