staabm/phpstan-psr3
PHPStan rules that detect PSR-3 logger misuse and security pitfalls: invalid placeholders, context issues, and message formatting mistakes. Works with psr/log, Monolog, Laravel (illuminate/log, LogManager), and REDAXO rex_logger.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpstan | 0.86 | PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. | 13,968 | 14,039 | 951 | 9M | 1,051 | 93.7 | 72.2 | MIT | 1 week ago | |
| bnf/phpstan-psr-container | 0.85 | 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). | 0 | 13 | — | 144K | — | 0.6 | 55.2 | — | — | |
| symplify/phpstan-rules | 0.83 | Extra PHPStan rules by Symplify to catch bugs, improve code quality, and enforce consistent conventions. Easy to install and configure, with a broad set of checks for Symfony/Laravel and modern PHP features to keep your codebase clean. | 266 | 265 | 31 | 525K | 0 | 3.5 | 45.5 | MIT | 1 year ago | |
| shipmonk/phpstan-dev | 0.83 | Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. | 7 | 7 | 1 | 7K | 0 | 15.4 | 45.3 | MIT | 4 months ago | |
| contributte/phpstan | 0.83 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 3K | 0 | 13.5 | 49.3 | MIT | 4 months ago | |
| phpstan/phpstan-phpunit | 0.82 | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 531 | 534 | 56 | 3M | 35 | 38.6 | 74.3 | MIT | 3 months ago | |
| localheinz/phpstan-rules | 0.82 | Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. | 453 | 451 | 24 | 783 | 6 | 27.6 | 10.2 | MIT | 4 months ago | |
| thecodingmachine/phpstan-strict-rules | 0.81 | Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. | 290 | 290 | 27 | 58K | 9 | 14.1 | 35.2 | — | 4 years ago |
How can I help you explore Laravel packages today?