PhpStorm
 
2022.3
Get PhpStorm

Rector

Last modified: 31 March 2023

PhpStorm supports PHP code upgrade and refactoring capabilities based on the Rector plugin, which is bundled and enabled in the IDE by default.

Rector provides code transformation rules for automated refactoring and upgrade of applications to a newer framework or PHP version. With PhpStorm, you can run Rector rules against a selected folder or file right from the Project tool window, compare the source and modified code in the diff viewer, and pick which changes to apply.