The fastest way to navigate your PHP codebase
Alt+Click any element to instantly jump to the exact PHP source code line. No searching, no guessing.
Works out of the box with any PHP project. No complex setup, no configuration files needed.
Compatible with Laravel, Symfony, WordPress, and any PHP framework or plain PHP code.
Seamlessly integrates with VS Code to open files at the exact line where your element is defined.
Clear visual indicators show which elements are clickable. Hover effects guide you to navigable components.
Minimal footprint on your application. Clean, efficient code that doesn't slow down your development.
Choose your preferred setup method
The complete setup for the best PHPLocator experience. You need both the browser extension and PHP package!
Install the PHP package for enhanced functionality
Navigate to your PHP website in the browser
Elements will be highlighted and clicking opens the source code in VS Code!
For better accuracy and more features, include PHP Locator in your project:
That's it! PHP Locator automatically injects data attributes for precise click-to-code functionality.
PHP Locator works with all popular PHP frameworks:
Include in your main layout
Add to your base template
Add to functions.php
Include in your views
Works out of the box