NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #645 most downloaded on Packagist
Psalm Plugin for Symfony
Latest stable
v5.11.0
Last release 11 days ago
11 Nov 2026
Release timing varies
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
85 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Psalter now fixes InvalidConsoleArgumentValue , InvalidConsoleOptionValue and RepositoryStringShortcut :
Psalter now fixes InvalidConsoleArgumentValue, InvalidConsoleOptionValue and RepositoryStringShortcut:
vendor/bin/psalter --issues=InvalidConsoleArgumentValue,InvalidConsoleOptionValue,RepositoryStringShortcut-$this->addArgument('files', 5);
+$this->addArgument('files', InputArgument::REQUIRED | InputArgument::IS_ARRAY);
-$this->addOption('format', null, 2);
+$this->addOption('format', null, InputOption::VALUE_REQUIRED);
-$entityManager->getRepository('App\Entity\Invoice');
+$entityManager->getRepository(Invoice::class);Add --dry-run to preview the changes as a diff without writing them.
This release requires Psalm 7.3 or newer.
Full Changelog: v5.10.1...v5.11.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix the static analysis of the lowest dependencies by @danog in #441
Full Changelog: v5.10.0...v5.10.1
Requires PHP 8.2+ and Psalm 7.0+. On PHP 8.1 or a Psalm 7 release candidate, Composer keeps 5.9.2.
Requires PHP 8.2+ and Psalm 7.0+. On PHP 8.1 or a Psalm 7 release candidate, Composer keeps 5.9.2.
#[AutowireCallable], #[AutowireMethodOf] and #[AutowireServiceClosure] closures, checks of their targets (new InvalidAutowireCallable issue), and bound methods marked as used (#418)#[AutowireLocator] maps and service subscribers, with ServiceNotFound for unknown keys (#419, #434)#[Required] properties are not PropertyNotSetInConstructor (#435, superseding #142)TranslationExtension, StopwatchExtension and SecurityExtension, are used again (#437, fixes #428)InputBag::get(): values and defaults may be null or any scalar, as Symfony declares (#376)AbstractType hooks keep the form data type on Symfony 6.4/7.4, and FormView::$vars is typed (#436, superseding #329 and #271)PreSubmitEvent data is mixed: it is the submitted data, a string or null for simple fields (#439). Listeners now need to check it before use.Full Changelog: v5.9.2...v5.10.0
Fix: crash on Twig AttributeExtension services in template taint analysis by @alies-dev in #423
Full Changelog: v5.9.1...v5.9.2
Require symfony/framework-bundle and symfony/expression-language only for development by @danog in #417
Full Changelog: v5.9.0...v5.9.1
Give each render call the output of its own template only by @danog in #416
Full Changelog: v5.8.0...v5.9.0
Name the template of a render method relative to a directory another argument gives by @danog in #415
Full Changelog: v5.7.0...v5.8.0
Follow the Twig render methods the configuration names, and those overriding them by @danog in #413
Full Changelog: v5.6.0...v5.7.0
Ask Psalm for the path along which a builtin method returns what its object holds by @danog in #410
Full Changelog: v5.5.1...v5.6.0
Mark generateNames() pure by @danog in #412
Read the properties and getters of the objects given to a Twig template for their attributes by @danog in https://github.com/psalm/psalm-plugin-symfon
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.4.0...v5.5.0
fixes broken link to doctrine docs. by @stopfstedt in https://github.com/psalm/psalm-plugin-symfony/pull/388
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.3.0...v5.4.0
Update composer.json: Allowing Symfony 8 by @ThomasLandauer in https://github.com/psalm/psalm-plugin-symfony/pull/369
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.8...v5.3.0
Prevent null array offset access (fixes #370) by @nocive in https://github.com/psalm/psalm-plugin-symfony/pull/371
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.7...v5.2.8
This release bumps dependencies for psalm v6 support, and drops support for psalm v5.
This release bumps dependencies for psalm v6 support, and drops support for psalm v5.
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.6...v5.2.7
Test against PHP 8.3 by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/356
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.5...v5.2.6
[doctrine] improve repository handler by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/353
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.4...v5.2.5
Allow setting Symfony's version explicitly by @HypeMC in https://github.com/psalm/psalm-plugin-symfony/pull/351
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.3...v5.2.4
[deps] psalm version by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/350
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.2...v5.2.3
Deduct return type from environment variable processors by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/346 fixes https://github.com
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.1...v5.2.2
Test Symfony 7 versions by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/343
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.2.0...v5.2.1
Fix outdated Twig Analyzer configuration documentation by @wooky in https://github.com/psalm/psalm-plugin-symfony/pull/332
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.1.0...v5.2.0
Allow/test with Symfony 7 by @kbond in https://github.com/psalm/psalm-plugin-symfony/pull/323
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.0.5...v5.1.0
[container] don't report service constructors as PossiblyUnusedMethod by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/326
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.0.4...v5.0.5
Handle UnusedClass false positive by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/325
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.0.3...v5.04
[framework bundle] abstract controller createForm visibility by @zmitic in https://github.com/psalm/psalm-plugin-symfony/pull/314
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.0.2...v5.0.3
Revert hacky stub for Request::getSession by @VincentLanglet in https://github.com/psalm/psalm-plugin-symfony/pull/304
RequiredSetterHandler to also check for attributes by @UlrichThomasGabor in https://github.com/psalm/psalm-plugin-symfony/pull/312Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.0.1...v5.0.2
Adding for env() and param() by @ThomasLandauer in https://github.com/psalm/psalm-plugin-symfony/pull/297
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v5.0.0...v5.0.1
Fixed tests to work with psalm5 by @zmitic in https://github.com/psalm/psalm-plugin-symfony/pull/289
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v4.0.0...v5.0.0
[framework bundle] abstract controller createForm visibility by @zmitic in https://github.com/psalm/psalm-plugin-symfony/pull/314
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v4.0.3...v4.0.4
Revert hacky stub for Request::getSession by @VincentLanglet in https://github.com/psalm/psalm-plugin-symfony/pull/304
RequiredSetterHandler to also check for attributes by @UlrichThomasGabor in https://github.com/psalm/psalm-plugin-symfony/pull/312Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v4.0.2...v4.0.3
[v4.x] Fix console handler with named arguments and add more tests by @mdeboer in https://github.com/psalm/psalm-plugin-symfony/pull/300
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v4.0.1...v4.0.2
Fixed tests to work with psalm5 by @zmitic in https://github.com/psalm/psalm-plugin-symfony/pull/289
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v4.0.0...v4.0.1
Support PHP 8.1 & drop PHP 7.3 by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/279
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.9...v4.0.0
[doctrine] fix repository crash when variable classname is used by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/280
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.9...v3.1.10
[container] support custom service id on service subscriber by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/276
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.8...v3.1.9
[DI] skip checking naming convention for env var parameters by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/265
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.7...v3.1.8
Fix compatibility with Sf6.1 by @VincentLanglet in https://github.com/psalm/psalm-plugin-symfony/pull/263
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.6...v3.1.7
Support TestContainer directly by @ddeboer in https://github.com/psalm/psalm-plugin-symfony/pull/255
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.5...v3.1.6
Add generic for event dispatcher dispatch method by @VincentLanglet in https://github.com/psalm/psalm-plugin-symfony/pull/254
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.4...v3.1.5
[Twig taint analysis] Support AbstractController::render() and Symfony+custom twig extensions by @wouterj in https://github.com/psalm/psalm-plugin-sym
AbstractController::render() and Symfony+custom twig extensions by @wouterj in https://github.com/psalm/psalm-plugin-symfony/pull/245Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.3...v3.1.4
Catch template unresolved exception by @aszenz in https://github.com/psalm/psalm-plugin-symfony/pull/238
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.2...v3.1.3
Fix Request stubs for Symfony 6 by @VincentLanglet in https://github.com/psalm/psalm-plugin-symfony/pull/235
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.1...v3.1.2
Add stub for symfony 6 by @VincentLanglet in https://github.com/psalm/psalm-plugin-symfony/pull/234
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.1.0...v3.1.1
fix tests for new psalm versions by @seferov in https://github.com/psalm/psalm-plugin-symfony/pull/228
Full Changelog: https://github.com/psalm/psalm-plugin-symfony/compare/v3.0.4...v3.1.0
Add Kernel.stubphp (#220) (@enumag)
[request] fix request and inputbag stub (#218) (@rgrassian)
[finder] Use Symfony SplFileInfo in Finder (#212) (@vudaltsov)
[finder] Add stub for Finder (#211) (@VincentLanglet)
[DI] improve container handler, better service detection, better service locator & refactor (#202) (@seferov)
[http foundation] Fix InputBag::get return type (#200) (@VincentLanglet)
[controller] add missing use statements to stub (#191) (@andyexeter)
Upgrade Psalm interfaces (#186) (@weirdan)
container parameter types (#184) (@seferov)
Add symfony/config stubs (#168) (@ostrolucky)
Fix tests and a var annotation (#166) (@VincentLanglet)
Update AbstractController.stubphp (#161) (@Punk-UnDeaD)
Fix FormView $vars (#160) (@VincentLanglet)
AbstractController::createForm() (#157) (@andrew-demb)GLOB_BRACE workaround for Alpine Linux (#153) (@seferov)
[tainting] fix taint flow (#137) (@adrienlucas)
One column per quarter.