NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #642 most downloaded on Packagist
Psalm plugin for Laravel
Latest stable
v4.19.1
Last release 12 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
201 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Stability: drop Psalm 7 support on 3.x plugin version by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/602 (as it changed API for p
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.1.5...v3.2.0
feat: handle dropColumn() with array argument in SchemaAggregator (#448) @alies-dev
dropColumn() with array argument in SchemaAggregator (#448) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.1.4...v3.1.5
Fix false-positive ArgumentTypeCoercion for retry() helper @alies-dev
Your coding agent can read these notes before it upgrades. Set up the MCP server →
retry() helper @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.1.3...v3.1.4
Unsigned integer tracking: unsignedBigInteger, increments, foreignId, id, and the ->unsigned() modifier are now recognized, enabling non-negative-int
unsignedBigInteger, increments, foreignId, id, and the ->unsigned() modifier are now recognized, enabling non-negative-int inference for unsigned columns @alies-dev->default() calls in migrations are now parsed and tracked, enabling more accurate type inference for model attributes with defaults @alies-devif blocks) inside migration closures no longer cause subsequent column definitions to be skipped @alies-devforeignIdFor() column name: foreignIdFor(User::class) now correctly resolves to user_id instead of id @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.1.2...v3.1.3
Update barryvdh/laravel-ide-helper dependency @alies-dev
barryvdh/laravel-ide-helper dependency @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.1.1...v3.1.2
Suppress common Laravel issues with full hierarchy support (#400) @alies-dev
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.1.0...v3.1.1
Taint Analysis: Security Analysis in Psalm. Example 1, Example 2
Taint Analysis: Security Analysis in Psalm. Example 1, Example 2
retry() helper (#417) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.5...v3.1.0
Update dependencies and internal type info (#416) @alies-dev
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.4...v3.0.5
Update stub for dispatch() match upstream Laravel (#407) @saulens22
dispatch() match upstream Laravel (#407) @saulens22Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.3...v3.0.4
Fix: make stub cache directory configurable via env (#405) @vyacheslavdanilin
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.2...v3.0.3
Support Psalm v7 #402 @alies-dev
Internal changes:
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.1...v3.0.2
Add special dev to composer keywords (#397) @alies-dev
dev to composer keywords (#397) @alies-devInternal changes:
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.0...v3.0.1
⚠️ Dump dependencies @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/388:
Model::$factory static property (for HasFactory) https://github.com/psalm/psalm-plugin-laravel/commit/801629e4f91ddcb3d2c390dcdb6122b2e32972ae (error: Undefined array key "factory") @alies-dev#[\Override] attribute by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/392strict_types by @alies-devfailOnError config value https://github.com/psalm/psalm-plugin-laravel/commit/0a593bf2c2309d0a17768ea7e7eabc99be0b1706 by @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.11.1...v3.0.0
Support Laravel 12, drop support Psalm 5 by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/393
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.0-rc3...v3.0.0-rc4
Use #[\Override] attribute (#392) @alies-dev
Internal changes:
#[\Override] attribute (#392) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.0-rc2...v3.0.0-rc3
Fix "Cannot get method params for Illuminate\Support\Facades\Auth::user" by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/391
Name::$parts property @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v3.0.0-rc1...v3.0.0-rc2
Since the plugin requires a lot of efforts to maintain different Laravel, PHP and Psalm versions, we decided to limit supported versions in this relea
Since the plugin requires a lot of efforts to maintain different Laravel, PHP and Psalm versions, we decided to limit supported versions in this release. If you need support for other version ranges, please consider a PR or a donation to support the project.
<failOnInternalError>true</failOnInternalError> Plugin config value to not suppress internal plugin errors (for better DX) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.11.0...v3.0.0-rc1
Add EOL announcement @alies-dev
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.12.2...v2.12.3
Fix "no hint path defined for ide helper" error by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/396
dev to composer keywords (#397) @alies-devInternal changes:
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.12.1...v2.12.2
Do not use private $parts property on scanning migrations @alies-dev
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.12.0...v2.12.1
Fix Undefined array key "factory" by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/389
Please also consider testing a new major version of the plugin: https://github.com/psalm/psalm-plugin-laravel/releases/tag/v3.0.0-rc1
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.11.1...v2.12.0
Nothing published for this version
Add stubs for Http\Request, Notifications\MailMessage, Database\Migrator (#381) @alies-dev
Http\Request, Notifications\MailMessage, Database\Migrator (#381) @alies-devApplication stub (#379) @alies-dev.phpt tests format (replace Codeception) (#377) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.10.1...v2.11.0
Update stubs: add Route, once(), update Model properties (#369) @alies-dev
Route, once(), update Model properties (#369) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.10.0...v2.10.1
👋 Drop Laravel 9 support (and thus, drop PHP 8.0) (#367) @alies-dev
orchestra/testbench-core as testbench should only be used for Package development (#359) @crynoboneFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.9.0...v2.10.0
One of the biggest releases of the package 🚀
One of the biggest releases of the package 🚀
Model::query() call results (#345) @alies-dev\Eloquent\Builder::findOrFail() (#351) @alies-dev$this instead of self<TModel> (#339) @alies-devcomposer check command (#337) @alies-devFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.8.0...v2.9.0
By this release we have covered all Laravel helpers that it makes sense to cover. 🚀
By this release we have covered all Laravel helpers that it makes sense to cover. 🚀
filled, transform, class_basename, class_uses_recursive, trait_uses_recursive, str, abort_unless, action, back, bcrypt, broadcast, dispatch_sync, event, data_fill, data_set, precognitive, object_get, value, class_uses_recursive and trait_uses_recursive (#335, #334, #332) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.7.1...v2.8.0
Bump dependencies, use stable Laravel 10 for application tests (#331) @lptn
Cleanup release.
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.7.0...v2.7.1
Support Laravel 10 (drop Laravel versions below v9.48) (#287) @lptn
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.6.0...v2.7.0
⚠️ This is the latest minor version that supports Laravel 9.2-9.47
⚠️ This is the latest minor version that supports Laravel 9.2-9.47
throw_if and throw_unless (narrow down possible types based on these calls) (#312) @lptnFactoryBuilder (that uses factory(Model::class) syntax) (#303) @lptnpath helpers (#309) @lptnlang_path, Eloquent\Builder::chunk, Database\Connection::transaction (#305) @lptnMorphMany return type when orderBy used (e.g. latest(), olders()) (#308) @lptnerrorLevel=1 for plugin codebase (#304) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.5.0...v2.6.0
This release focuses on 2 things:
This release focuses on 2 things:
UndefinedThisPropertyFetch for Model's attributes 🚀)@template for Eloquent Collection keys (no more InvalidTemplateParam for Test Factories). If you use generic syntax manually, you need to update it from \Illuminate\Database\Eloquent\Collection<YourModel> to \Illuminate\Database\Eloquent\Collection<int, YourModel>\Schema alias while parsing migrations (#298) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.4.0...v2.5.0
🚀 Better support for more helpers: auth, cache, dispatch, logs, rescue, to_route (#286) @lptn
auth, cache, dispatch, logs, rescue, to_route (#286) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.3.1...v2.4.0
view helper now returns \Illuminate\Contracts\View\View (contract instead implementation)
view helper now returns \Illuminate\Contracts\View\View (contract instead implementation)view and response helpers (#282) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.3.0...v2.3.1
Add Pagination stubs (#276) @lptn
validator and view helpers (#279) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.2.0...v2.3.0
Add more stubs for helpers: cookie, session, rescue, retry, tap, __ (#267) @lptn
cookie, session, rescue, retry, tap, __ (#267) @lptnFull Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.1.1...v2.2.0
Issue: Model stubs are not generated (#248) @dkuzmenchuk
⚠️ This fix may cause an issue in your Laravel project if you don't use \Eloquent alias, see https://github.com/psalm/psalm-plugin-laravel/issues/271#issuecomment-1387427423
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.1.0...v2.1.1
Drop Laravel 8 support by @lptn in https://github.com/psalm/psalm-plugin-laravel/pull/246 (as promised in v2.0 but never did it)
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v2.0.2...v2.1.0
# What's Changed ✨ - Psalm 5 support (#242) @danog
feature: add basic stub for config helper (#230) @mr-feek
Thanks to many contributions from the community, we now support laravel 9: https://github.com/psalm/psalm-plugin-laravel/pull/213 We have cut a new ma
maintenance release to support old versions of the plugin
maintenance release to support old versions of the plugin
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v1.6.2...v1.6.3
Catch even Throwable when trying to create class (#231 ) @Legion112
Add better support for config helper (#230 ) @mr-feek
Add support for later versions of IDE helper (#226) @ronb-lendesk
Add support for anonymous migrations (#224) @ekvedaras
Lot's of great changes in here to get the CI pipeline green again! Thank you for all your contributions
Lot's of great changes in here to get the CI pipeline green again! Thank you for all your contributions
Supress more laravel issues (#189) @caugner
Drop support for Laravel 7 (#185) @caugner
Backport critical fixes for Laravel 7 by @alies-dev in https://github.com/psalm/psalm-plugin-laravel/pull/378
Full Changelog: https://github.com/psalm/psalm-plugin-laravel/compare/v1.4.10...v1.4.11
Nothing published for this version
feature: support head() and last() (#167) @caugner
This release is mainly a lot of internal refactoring.
This release is mainly a lot of internal refactoring.
I did not realize that ide-helper removed support for laravel 7. Reverting the last release for now.
I did not realize that ide-helper removed support for laravel 7. Reverting the last release for now.
Update method signature for getPropertiesFromTable (#136) @CiiDyR
Previously calling unknown methods on the Application interface could result in a crash. This fixes that
Previously calling unknown methods on the Application interface could result in a crash. This fixes that (#128)
Added support for not stopping the execution of psalm even when a error occurs. (#141) @yaegassy
- Prevent installation of `barryvdh/laravel-ide-helper` 2.9.2 and later (#138) @caugner barryvdh/laravel-ide-helper broke semantic versioning and brok
**- Prevent installation of barryvdh/laravel-ide-helper 2.9.2 and later (#138) @caugner **
barryvdh/laravel-ide-helper broke semantic versioning and broke our compatability. We are preventing upgrades to the newer versions of ide-helper until the issue is resolved
Fix for psalm 4 (#121) @mr-feek
Support for Laravel 8.x (#112) @TheDoctor0
The main change here is that we have added some dynamic analysis. Dependencies resolved by the container will now be done so dynamically in order to g
The main change here is that we have added some dynamic analysis. Dependencies resolved by the container will now be done so dynamically in order to get the actual return type; This makes it easier to resolve the likes of named aliases. We have also added dynamic analysis for the path helpers to resolve the actual path in order to perform more safety checks around files being referenced with a path helper.
One column per quarter.