Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Psalm Psr Container Plugin Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: The plugin is designed for PSR-11 compliant containers. In Laravel projects, this requires using a PSR-11 adapter (e.g., illuminate/container with PSR-11 compatibility layer). Without such an adapter, the plugin has no effect. For standard PSR-11 implementations (e.g., Symfony, Zend), it fits seamlessly.

Integration feasibility: High. As a standard Psalm plugin, installation is trivial via Composer and minimal config updates. Requires Psalm >=4.0 (check plugin docs), but current Psalm versions are compatible.

Technical risk: Low if PSR-11 is already in use. High risk if the project doesn't use PSR-11 container, leading to wasted effort. Also, potential false positives if

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai