Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PHP Refactor ToolNew to Visual Studio Code? Get it now.
PHP Refactor Tool

PHP Refactor Tool

Son Tung PHAM

|
21,775 installs
| (26) | Free
Make the code refactor easier.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PHP Refactor Tool

Latest Release Downloads Rating

If this extension is useful for you, feel free to buy me a coffee, it'd give me more motivation to add more features ♥️♥️♥️

"Buy Me A Coffee"

You can join this discord server to discuss about current/future features more easily :)

Description

  • Php refactor tool help users refactor their codes easily and safely

  • The extension is made for object-oriented programming (OOP) in PHP

Features

  • Rename symbols
    • Update the name of file or the namespace if needed in case of Class, Interface, Abstract, ...
    • Update Getter and Setter when renaming Property

Rename Class Rename Class

Rename Method Rename Method

Work in progress features

  • When moving/renaming files, change the namespace and its usages

Installation

  • Install dependency extension PHP Intelephense

  • All the extensions with same functionalities should be disabled to obtain the best result.

Usage

Use key F2 or right click and choose Rename Symbol on the symbol you want to rename.

Known Issues

Not yet. If you have any problems please let me know, I'll fix it as soon as possible.

Run tests

npm run test

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft