pekral/rector-rules
A set of custom Rector rules for Laravel and PHP projects that automate code modernization, refactoring, and upgrade tasks. Helps enforce best practices and reduce manual migration effort across your codebase.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| guanguans/rector-rules | 0.87 | 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 | 20.0 | 48.7 | MIT | 1 week ago | |
| rector/phpstan-rules | 0.87 | 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... | 0 | 13 | — | 118 | — | 0.0 | 28.7 | — | — | |
| rector/rector | 0.86 | Rector instantly upgrades and refactors PHP code, supporting PHP 5.3 through 8.5 and major frameworks like Symfony, PHPUnit, and Doctrine. Configure single rules or prepared sets, preview changes with dry runs, and add it to CI to continuously automate refactoring and keep code quality high. | 10,498 | 10,524 | 742 | 10M | 4 | 76.0 | 49.1 | MIT | 3 days ago | |
| driftingly/rector-laravel | 0.86 | 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 | |
| rector/rector-generator | 0.86 | 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-symfony | 0.86 | 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 | — | |
| rector/rector-src | 0.86 | 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 | — | |
| rector/rector-laravel | 0.86 | 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.85 | 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-phpunit | 0.85 | 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/rector-phpoffice | 0.85 | Rector rules for PhpOffice libraries that automate upgrading PhpSpreadsheet, PhpWord, and related packages. It applies safe, version-aware code transformations so you can modernize legacy PhpOffice code with less manual work and fewer regressions. | 0 | 5 | — | 142 | — | 0.0 | 29.8 | — | — |
How can I help you explore Laravel packages today?