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

Laravel Route Finder

Brock Roadhouse

|
21 installs
| (0) | Free
Jump to Laravel controller+method from a given URL using artisan route:list.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Requirements

  • PHP and artisan CLI available on your host machine

Usage

  1. Open the Command Palette Press Cmd+Shift+P (on Mac) or Ctrl+Shift+P (on Windows/Linux).

  2. Search for "Laravel: Find Controller Method by URL"

  3. Enter a URL from your project

  4. Select a method from the dropdown (GET, POST, etc.)

  5. If the URL is valid in your current project, VS Code will open an editor at the method of the controller

Optional Keybinding

VS Code UI

  1. Open Keyboard Shortcuts Press Cmd+K+Cmd+S (on Mac) or Ctrl+K+Ctrl+S (on Windows/Linux).

  2. Search for "Laravel: Find Controller Method by URL"

  3. Assign a keybinding

JSON

  1. Open the Command Palette Press Cmd+Shift+P (on Mac) or Ctrl+Shift+P (on Windows/Linux).

  2. Search for "Preferences: Open Keyboard Shortcuts (JSON)" In the keybindings.json file, you can add a shortcut to run this command:

[
    {
        "key": "alt+cmd+u",
        "command": "laravelRouteFinder.find"
    }
]
  1. Save the file.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft