lctrs/psalm-psr-container-plugin
Psalm plugin that improves static analysis for PSR-11 containers. Adds smarter type inference for container get/has calls so services and dependencies resolve to the right classes, reducing false positives and making container-heavy code safer to refactor.
Run
composer require --dev lctrs/psalm-psr-container-plugin
Run
vendor/bin/psalm-plugin enable lctrs/psalm-psr-container-plugin
to enable the plugin.
Please have a look at CHANGELOG.md.
Please have a look at CONTRIBUTING.md.
This package is licensed using the MIT License.
Please have a look at LICENSE.md.
How can I help you explore Laravel packages today?