ergebnis/rector-rules
Custom Rector rules from Ergebnis to standardize and modernize PHP code. Includes sorting associative arrays and match arms, converting Faker generator property fetches to method calls, and fixing namespaced symbol references. Install via Composer for dev.
ergebnis/rector-rules is a Composer dev package that adds focused Rector rules to keep PHP codebases consistent and easier to review. It complements rector/rector with opinionated refactorings that standardize structure and modernize common patterns.
Use it to enforce deterministic formatting and safer transformations across files, expressions, and library-specific usage.
How can I help you explore Laravel packages today?