This is a Visual Studio Code extension that provides PHP class locator functionality. It allows you to easily navigate to PHP class files within your project.
- Quickly locate PHP class files based on class names.
- Integration with Visual Studio Code for seamless navigation.
- Supports both macOS and Windows operating systems.
- Open terminal or iTerm.
- Paste the following command.
git clone https://github.com/mkshuvo/php-class-locator.git ~/.vscode/extensions/
. - Now go to
~/.vscode/extensions/php-class-locator
. - Run
npm install
to get the packages.
- Place your cursor over a PHP class name in your code. For example:
$this->get('my-path/to/ClassName');
- Press
Ctrl
orCmd
(macOS) on the class name to navigate to its file.
Contributions are welcome! Please feel free to submit issues and pull requests.