Instant Upgrades and Instant Refactorings for PHP Applications. Why do it manually?
#rectorphp
Created by @votrubaT
- Did you know you can run just single rule on the whole codebase? Keeps your diff simple and easy to merge Just use --only=YourCustomerRector ⭐ since Rector 2.6 with broader values
- We've had one feature for couple of months now, but only now we're adding it to compser based sets. It will be blast! Rector rule bound to exact package and version the feature was released 😎 Zero work for you, flawless upgrade by Rector
- Just add ->withPhpSets() to your rector.php, and enjoy all the new PHP features 👍PHP tip. Since PHP 8.2 you can mark the whole class `readonly` instead of repeating the keyword on every property. Every property becomes readonly automatically, and anything you add later is covered too. No way to forget one.


