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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bnf/phpstan-psr-container | 0.83 | PHPStan dynamic return type extension for PSR-11 ContainerInterface. Improves type inference for $container->get() so services are typed correctly during static analysis. Install via Composer and include extension.neon (or use phpstan/extension-installer). | 13 | 13 | 6 | 128K | 1 | 20.6 | 64.3 | GPL-2.0 | 1 year ago | |
| psalm/plugin-symfony | 0.82 | Psalm plugin for Symfony: improves static analysis with accurate container service/parameter typing, service subscriber support, console input types, Doctrine repository mapping, Symfony-specific fixes, naming convention checks, DI warnings, and taint analysis. | 241 | 240 | 64 | 248K | 32 | 42.9 | 67.1 | MIT | 1 month ago | |
| php-standard-library/psalm-plugin | 0.78 | Psalm plugin for PHP Standard Library (PSL) that improves type inference for PSL Type\specifications. Enables more precise array/shape types (e.g., Type\shape coercions) so Psalm reports correct, specific types during static analysis. | 25 | 25 | 7 | 27K | 1 | 25.2 | 49.1 | MIT | 3 weeks ago | |
| laminas/laminas-container-config-test | 0.69 | Test helper for Laminas container configuration: validates service/container config arrays and wiring in a predictable way for unit tests. Useful for ensuring factories, aliases, and dependencies are registered correctly across your Laminas modules. | 5 | 5 | 6 | 5K | 2 | 24.1 | 47.7 | BSD-3-Clause | 5 months ago | |
| zendframework/zend-container-config-test | 0.67 | Common test suite for PSR-11 containers configured with a subset of zend-servicemanager/Expressive config. Extend AbstractContainerTest and add traits for aliases, factories, services, etc. Supports Aura.Di, Pimple, and zend-servicemanager. Repository abandoned; moved to laminas. | 1 | 1 | 0 | 0 | 0 | 10.6 | — | BSD-3-Clause | 6 years ago | |
| dealerdirect/phpcodesniffer-composer-installer | 0.65 | Composer installer plugin that automatically discovers and installs PHP_CodeSniffer coding standards (rulesets) from Composer packages. It configures PHPCS installed_paths for you, avoiding manual symlinks and configuration. Supports PHPCS 3/4 and Composer 2.2+. | 596 | 603 | 39 | 4M | 8 | 34.0 | 66.3 | MIT | 4 months ago | |
| laminas/laminas-diactoros | 0.63 | PSR-7 HTTP message implementation (ServerRequest, Request, Response, Stream, UploadedFile, Uri) for PHP. Includes factories and utilities for creating and normalizing requests/responses, with strong type coverage and interoperability with PSR-17/PSR-15. | 546 | 556 | 76 | 3M | 21 | 41.1 | 72.9 | BSD-3-Clause | 5 months ago | |
| psr/link | 0.62 | PSR-13 link definition interfaces for PHP. Provides standard LinkInterface and LinkProviderInterface contracts used to describe and expose web links. Not an implementation—interfaces only; use a compatible psr/link-implementation package. | 2,502 | 2,513 | 13 | 3M | 0 | 12.9 | 42.0 | MIT | — | |
| psr/http-message | 0.62 | PSR-7 HTTP message interfaces for PHP (Request/Response, Streams, URIs, UploadedFiles). Defines common contracts only—no concrete implementation. Ideal for framework-agnostic middleware and libraries needing interoperable HTTP message types. | 7,097 | 7,212 | 187 | 17M | 0 | 57.7 | 64.3 | MIT | 2 years ago |
How can I help you explore Laravel packages today?