phpstan/phpstan-deprecation-rules
PHPStan extension that reports usage of deprecated classes, methods, properties, constants, and traits. Supports custom deprecation markers and scopes, with stub files for deprecations in third-party code you don’t own.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpstan-symfony | 0.89 | PHPStan extension for Symfony that provides accurate return types for the container, controllers, requests, responses, forms, serializer, cache, and other framework APIs, helping catch bugs earlier and improving static analysis in Symfony projects. | 806 | 809 | 107 | 4M | 60 | 55.2 | 86.3 | MIT | 1 week ago | |
| lookyman/phpstan-symfony | 0.89 | PHPStan extension for Symfony projects. Improves static analysis with Symfony-specific type inference and container/framework awareness, helping catch bugs earlier and reduce false positives when analyzing services, controllers, and common Symfony patterns. | 42 | 41 | 5 | 16 | 0 | 1.2 | 1.3 | MIT | 8 years ago | |
| phpstan/phpstan | 0.89 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,152 | 14,226 | 971 | 19M | 1,056 | 94.8 | 77.0 | MIT | 5 days ago | |
| calebdw/phpstan-laravel | 0.88 | A PHPStan extension for Laravel that adds framework-aware type inference and rules for facades, helpers, Eloquent models, and container resolutions, helping you catch bugs earlier and write safer, more maintainable PHP. | 35 | 35 | 7 | 12K | 0 | 20.4 | 40.9 | MIT | 1 week ago | |
| sanmai/phpstan-rules | 0.88 | Extra PHPStan rules from sanmai that extend static analysis for PHP projects. Helps catch additional issues not covered by core rules, improving code quality and consistency with minimal setup. | 4 | 4 | 0 | 2K | 0 | 10.7 | 39.0 | Apache-2.0 | 8 months ago | |
| php-standard-library/phpstan-extension | 0.88 | PHPStan extension for the PHP Standard Library (PSL) that teaches PHPStan about PSL types, generics, and collection APIs. It improves type inference, adds custom rules, reduces false positives, and catches PSL-specific errors during static analysis for safer, more reliable PHP code. | 24 | 24 | 7 | 66K | 14 | 12.4 | 56.8 | — | 7 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 | 42.1 | — | — | |
| slam/phpstan-extensions | 0.88 | 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. | 71 | 72 | 13 | 42K | 2 | 21.8 | 43.2 | MIT | 5 months ago | |
| larastan/larastan | 0.88 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,548 | 6,559 | 528 | 11M | 38 | 85.3 | 77.9 | MIT | 5 days ago | |
| ekino/phpstan-banned-code | 0.88 | PHPStan extension that detects banned code in your project, like var_dump, exit, eval, print, shell execution, and other unwanted functions. Configure the exact nodes and functions to block, enforce rules in CI, and keep your codebase clean. | 299 | 301 | 23 | 220K | 4 | 15.1 | 43.9 | MIT | 7 months ago | |
| nunomaduro/larastan | 0.88 | Larastan is a PHPStan extension for Laravel that adds static typing and catches bugs before you write tests. It understands Laravel's magic and boots your app container to resolve runtime types, supporting Laravel 9 through 11+. | 6,548 | 6,560 | 528 | 439K | 38 | 85.0 | 56.2 | MIT | 5 days ago | |
| contributte/phpstan | 0.88 | 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 | 24K | 0 | 4.8 | 56.9 | MIT | 10 months ago | |
| korbeil/phpstan-generic-rules | 0.88 | PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. | 12 | 12 | 4 | 6K | 2 | 3.9 | 36.6 | — | 1 year ago | |
| mll-lab/laravel-utils | 0.88 | A compact set of practical utilities for Laravel applications, providing reusable helpers and conveniences that cut boilerplate and simplify common development tasks. Easy to install and integrate into existing Laravel projects. Lightweight, dependable building blocks for everyday Laravel developmen... | 6 | — | 3 | — | 0 | 15.0 | — | MIT | 3 months ago | |
| sidz/phpstan-rules | 0.88 | sidz/phpstan-rules adds extra PHPStan rules for catching magic numbers in comparisons, assignments, function arguments, and arithmetic. Install via Composer and configure ignored numbers, numeric strings, and rule exclusions. | 30 | 31 | 4 | 29K | 0 | 23.1 | 47.7 | MIT | 1 month ago | |
| oro/phpstan-rules | 0.88 | Oro PHPStan Rules adds custom static analysis checks to PHPStan for Laravel and PHP projects, helping teams catch risky patterns, enforce coding standards, and improve code quality early in CI. Lightweight and easy to integrate. | 13 | 13 | 5 | 538 | 1 | 0.4 | 22.0 | MIT | 2 years ago | |
| phpstan/phpstan-doctrine | 0.88 | PHPStan extension for Doctrine that validates DQL and QueryBuilder, checks repository findBy and magic methods, improves EntityManager and repository type inference, supports ORM and ODM, and reports mapping, entity type, and proxy issues. | 681 | 683 | 125 | 3M | 77 | 57.8 | 87.6 | MIT | 1 week ago | |
| soyhuce/phpstan-extension | 0.88 | A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. | 1 | — | 1 | — | 0 | 0.9 | 1.5 | MIT | 1 year ago | |
| phpstan/phpstan-shim | 0.88 | Deprecated shim for PHPStan. Since PHPStan 0.12, the main phpstan/phpstan package ships as a PHAR, making phpstan/phpstan-shim unnecessary. Upgrade by switching composer dependency to phpstan/phpstan ^0.12 and reinstalling. | 88 | 96 | 15 | 6K | 0 | 4.9 | 18.0 | MIT | 6 years ago | |
| mglaman/phpstan-drupal | 0.88 | PHPStan extension for Drupal that teaches static analysis about Drupal's APIs—hooks, services, plugins, entity types, and test base classes—so it catches real bugs and deprecations in modules, themes, and profiles while avoiding false positives. | 208 | 209 | 89 | 1M | 85 | 43.1 | 87.8 | MIT | 2 days ago |
How can I help you explore Laravel packages today?