rector/phpstan-rules
PHPStan rules for Rector projects that catch common mistakes in Rector rules and configuration, helping you keep automated refactorings safer and more consistent. Use these ready-made checks to validate custom rules and configs before they rewrite your codebase. Ideal for teams maintaining custom Re...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rector/rector-laravel | 0.90 | Community Rector extension to automate Laravel upgrades. Adds Laravel and first-party package rules (e.g., Cashier, Livewire), with version-based set providers that detect your composer.json or manual level sets to apply the right refactors for your target Laravel version. | 1,298 | 1,259 | 120 | 7K | 15 | 45.1 | 23.3 | MIT | 1 week ago | |
| rector/rector-debugging | 0.90 | Debugging utilities for Rector that help you trace which rules match a file and why, inspect transformations, and diagnose unexpected refactoring results when building automated PHP code upgrades. | 0 | 1 | — | 11 | — | 0.0 | 14.9 | — | — | |
| rector/rector-generator | 0.90 | Rector Generator scaffolds custom Rector rules from templates, helping you create PHP refactoring and upgrade automation faster with ready-made rule classes and supporting files. | 0 | 11 | — | 70 | — | 0.0 | 25.6 | — | — | |
| rector/rector-phpunit | 0.89 | Rector rules for PHPUnit that automate test suite upgrades. Modernize assertions, replace deprecated APIs, and keep tests compatible across PHPUnit versions through automated, configurable refactoring—no manual edits required. | 117 | 117 | 75 | 42K | 0 | 2.9 | 35.3 | MIT | — | |
| rector/extension-installer | 0.89 | A Composer plugin that automatically registers installed Rector extensions, so custom rules and configurations load without manual setup. It simplifies adding third-party Rector packages to projects and keeps configuration minimal. | 16 | 16 | 1 | 91K | 0 | 0.1 | 51.5 | NOASSERTION | 5 years ago | |
| rector/rector-symfony | 0.89 | Rector rules for Symfony that automate framework upgrades and code modernization. Apply automated refactorings across Symfony projects, including deprecation fixes and version migrations, using the Rector tool. | 238 | 239 | 112 | 42K | 0 | 4.7 | 31.0 | MIT | — | |
| guanguans/rector-rules | 0.89 | A collection of custom Rector rules for PHP and Laravel projects that automates code refactoring, modernization, and upgrades. Register the rule sets in your rector.php config to enforce consistent standards and streamline migrations with less manual work. | 1 | 1 | 1 | 2K | 0 | 19.9 | 48.6 | MIT | 1 week ago | |
| rector/rector-prefixed | 0.88 | Prefixed distribution of Rector, the PHP tool for automated refactoring and instant code upgrades. All dependencies are scoped under a unique namespace to avoid version conflicts with your project's own packages, making it safe to install and run in any PHP codebase. | 33 | 37 | 4 | 3K | 0 | 0.1 | 18.5 | — | 5 years ago | |
| canvural/larastan-strict-rules | 0.88 | Extra strict, opinionated PHPStan rules for Laravel. Install via Composer, include rules.neon, and enable or disable checks like no dynamic where, no facades, no global helpers, and no validation in controllers. | 91 | 90 | 7 | 26K | 0 | 27.1 | 39.2 | MIT | 2 months ago | |
| andersundsehr/rector-p | 0.88 | Run Rector on large legacy projects file by file instead of all at once. rector-p asks you before applying changes to each file, remembers files with no changes, and supports paths, chunks, and starting over. | 7 | 1 | 5 | 8K | 5 | 26.8 | 50.6 | GPL-3.0 | 1 week 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 | |
| rector/rector-downgrade-php | 0.88 | rector/rector-downgrade-php provides Rector rules for downgrading PHP code, automatically rewriting modern syntax and features into older, compatible versions. Useful for backporting projects or libraries to legacy PHP runtimes with repeatable transformations. | 44 | 45 | 28 | 40K | 0 | 1.2 | 40.7 | MIT | — | |
| ergebnis/rector-rules | 0.88 | A Composer package of Rector rules for PHP projects, including sorters for associative arrays and match arms, removal of named arguments for single parameters, Faker generator property-to-method conversion, relative namespaced symbol references, and PHPUnit test attribute replacement. Install with c... | 10 | 10 | 0 | 74K | 0 | 31.8 | 62.0 | MIT | 1 week ago | |
| symplify/phpstan-rules | 0.88 | A set of 80+ practical PHPStan rules for checking clean architecture, logical errors, naming, namespace placement, visibility overrides, and Symfony, Doctrine, and PHPUnit best practices—useful for any PHP project, from legacy codebases to modern stacks. | 277 | 270 | 36 | 617K | 0 | 25.1 | 54.1 | MIT | 2 weeks ago | |
| driftingly/rector-laravel | 0.88 | Rector rules for Laravel and first-party packages like Cashier and Livewire. Automate Laravel upgrades with version-aware rule sets that detect your installed version from composer.json, plus dozens of individual rules for modernizing legacy code. | 1,299 | 1,300 | 121 | 3M | 16 | 46.1 | 64.4 | MIT | 1 week ago | |
| eliashaeussler/rector-config | 0.88 | Opinionated, reusable Rector configuration for PHP/Laravel projects. Provides curated rule sets and sensible defaults to quickly add automated refactoring and code upgrades, with easy integration into existing Rector setups. | 3 | 3 | 0 | 11K | 1 | 10.0 | 49.5 | GPL-3.0 | 11 months ago | |
| rector/rector-src | 0.88 | Source repository for Rector, the PHP tool that automates refactoring and code upgrades. Contains the core codebase, rules, and tests used to build Rector distributions; intended for contributors and development rather than direct installation. | 140 | 139 | 459 | 10K | 2 | 15.3 | 26.9 | MIT | — | |
| korbeil/phpstan-generic-rules | 0.87 | 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 | |
| wyrihaximus/phpstan-rules-wrapper | 0.87 | WyriHaximus PHPStan Rules Wrapper bundles popular PHPStan rulesets—ergebnis, strict, deprecation, PHPUnit, Mockery, ShipMonk, Symplify, PSR-3 and more—into one Composer package. Install it and, thanks to phpstan/extension-installer, the included rules work out of the box. | 6 | 6 | 0 | 133K | 1 | 31.8 | 64.9 | MIT | 6 days ago | |
| amashukov/rector-php-rules | 0.87 | — | 1 | 1 | 0 | 317 | 0 | 0.0 | 30.4 | MIT | — |
How can I help you explore Laravel packages today?