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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle