Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Laravel route to controller method FinderNew to Visual Studio Code? Get it now.
Laravel route to controller method Finder

Laravel route to controller method Finder

Rudra Sarkar

|
583 installs
| (0) | Free
It will help to find the controller method from line from route files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Laravel Controller Method Finder

A powerful Visual Studio Code extension to streamline Laravel development by allowing you to find routes and jump to controller methods with ease.

🚀 Features

  1. Find Laravel Routes Quickly generate a list of all your Laravel routes. See details like:
  • Route name
  • Controller name
  • Method name
  • Location of route file
  • Location of controller file
  • Exact method location
  1. Jump to Controller Method
  • Go directly to the line where the method is defined within the controller.
  • Avoid manually searching through large controller files.
  • Handles nested directories and finds the right controller file for you.
  1. Fully Integrated with VS Code
  • Simple keyboard shortcuts for route lookup and jumping to methods.
  • Displays routes in an intuitive table format inside VS Code.

🖥️ Installation

  • Open Visual Studio Code.
  • Go to Extensions (or press Ctrl+Shift+X).
  • Search for "Laravel Controller Method Finder" and click Install.
  • Reload your VS Code window.

Alternatively, you can install the extension from the VS Code marketplace by running:

ext install laravelcontrollermethodfinder

⌨️ Keyboard Shortcuts

  • All Laravel Routes: Ctrl + Alt + R (Windows/Linux), Cmd + Alt + R (macOS)
  • Go to Controller Method: Ctrl + Alt + G (Windows/Linux), Cmd + Alt + G (macOS)

🎯 Usage

  1. Open any Laravel project in VS Code.
  2. Run the command "Find Laravel Routes to Controller" from the command palette or use the shortcut Ctrl + Alt + R.
    • This will generate a table of routes mapped to controllers and methods.
  3. Click on any route or use the "Go to Controller Method" command (Ctrl + Alt + G) when inside a route file to jump directly to the corresponding controller method.

💻 Contributing

We welcome contributions! Feel free to fork this repository and submit pull requests for bug fixes or new features.

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