swissspidy/phpstan-no-private
PHPStan extension that reports deprecation warnings when code uses “pseudo-private” elements marked with @access private. Helps prevent relying on internal classes, methods, functions, or properties. Easy install via Composer with optional extension-installer support.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpstan | 0.90 | 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. | 14,057 | 14,126 | 958 | 10M | 1,072 | 94.7 | 73.3 | MIT | 1 day ago | |
| shipmonk/phpstan-rules | 0.89 | 40 super-strict PHPStan rules from ShipMonk to plug gaps in extra-strict setups. Install via Composer, include rules.neon, then enable/disable or tune rules per-project. Targets tricky PHP edge cases like unsafe comparisons, casts, arrays, enums and more. | 155 | 154 | 23 | 211K | 1 | 28.4 | 50.9 | MIT | 2 months ago | |
| slam/phpstan-extensions | 0.89 | PHPStan extensions with extra strict rules: unused variables, closure parameter typehints, enforce ::class notation, forbid goto, naming conventions, validate PHPUnit annotation FQCNs, and restrict access to globals/static properties in specific contexts. | 72 | 72 | 13 | 40K | 2 | 26.2 | 44.3 | MIT | 2 months ago | |
| e-lodgy/coding-standard | 0.89 | E-Lodgy’s shared Easy Coding Standard (ECS) configuration for PHP projects. Install via Composer, import the provided ecs.php, and apply consistent formatting and code style rules across your src, tests, and config files. | 0 | 0 | 1 | 5 | 1 | 2.6 | 10.7 | MIT | 2 years ago | |
| localheinz/phpstan-rules | 0.88 | 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. | 459 | 456 | 24 | 395 | 6 | 24.1 | 8.9 | MIT | 6 months ago | |
| kcs/phpstan-strict-rules | 0.88 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 4K | 0 | 0.0 | 41.7 | — | — | |
| elasticms/helpers | 0.87 | — | 0 | 0 | 0 | 100 | 0 | 31.2 | 32.0 | LGPL-3.0 | 1 month ago | |
| wyrihaximus/phpstan-rules-wrapper | 0.87 | Composer wrapper that bundles popular PHPStan rule sets and extensions into one install. Works out of the box with phpstan/extension-installer, pulling in strict, deprecation, PHPUnit, Mockery, dead-code detection, PSR-3, and type-coverage rules. | 6 | 6 | 0 | 133K | 1 | 30.6 | 64.9 | MIT | 1 week ago | |
| symplify/phpstan-rules | 0.86 | 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. | 270 | 268 | 30 | 585K | 0 | 21.4 | 53.1 | MIT | 1 month ago | |
| sidz/phpstan-rules | 0.86 | Custom PHPStan rules aimed at Laravel projects, helping catch common mistakes and enforce best practices. Adds extra static analysis checks tailored to typical framework patterns, improving code quality, consistency, and confidence during refactors. | 31 | 31 | 4 | 29K | 0 | 5.0 | 41.0 | MIT | 1 year ago | |
| phpstan/phpstan-strict-rules | 0.85 | Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types. | 704 | 713 | 62 | 3M | 38 | 46.2 | 74.5 | MIT | 2 weeks ago | |
| spaze/phpstan-disallowed-calls | 0.82 | PHPStan extension to define and enforce a denylist of disallowed function and method calls in your codebase. Catch legacy, unsafe, or unwanted APIs during static analysis with configurable rules and helpful error messages. | 339 | 338 | 23 | 788K | 3 | 32.8 | 55.4 | MIT | 3 days ago | |
| phpstan/phpstan-deprecation-rules | 0.79 | — | 458 | 463 | 25 | 3M | 17 | 34.1 | 71.2 | MIT | 1 week ago | |
| staabm/phpstan-psr3 | 0.79 | 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. | 23 | 23 | 1 | 153K | 1 | 1.5 | 52.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?