VS Code Extensions
P

PHP Method Refactor

by EvgeniySaranin

Rename PHP methods across the entire codebase with Ctrl+F2

Downloads

1

Rating

(0)

Version

1.0.2

Last updated

Jul 22, 2026

VSCode extension for renaming PHP methods across the entire codebase.

Usage

  1. Place cursor on a method name or select it
  2. Press Ctrl+F2 (Cmd+F2 on Mac)
  3. Enter the new method name
  4. Review found references and confirm

What it finds

  • function methodName( — declarations
  • ->methodName( — instance calls
  • ::methodName( — static calls
  • ${ methodName } — dynamic calls
  • '...methodName...' — string references

Configuration

{
  "phpRefactor.searchInFiles": ["**/*.php"],
  "phpRefactor.excludeFolders": ["vendor", "node_modules", ".git"]
}

Related extensions