pestphp/pest-plugin-rector
The official Pest plugin for Rector that automates test code migrations and upgrades. Convert PHPUnit tests to Pest, upgrade Pest 1 to 2/3, and apply custom Rector rules through a single, easy-to-configure ruleset—keeping your test suite clean and modern.
Pest Plugin Rector brings Rector rule testing into Pest's expressive, readable syntax. Instead of writing verbose PHPUnit test classes, you can verify that your custom Rector rules transform code correctly using familiar Pest expectations and a simple fixture-based workflow.
How can I help you explore Laravel packages today?