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

Laravel Route Explorer

AsmaBayouli

|
1 install
| (0) | Free
Scan Laravel route files and browse application routes from a VS Code sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Laravel Route Explorer

Laravel Route Explorer is a Visual Studio Code extension that scans Laravel route files and shows application routes in a dedicated Laravel Routes Activity Bar view.

The extension does not require Laravel, PHP, or a web server to be running. It reads route files directly from the workspace.

Features

  • Tree View in the Activity Bar named Laravel Routes
  • Displays HTTP method, URI, route name, and controller action
  • Scans routes/web.php, routes/api.php, routes/channels.php, and routes/console.php
  • Detects Route::get, post, put, patch, delete, resource, apiResource, and basic controller(...)->group(...) declarations
  • Filters routes by URI, route name, controller, or action
  • Opens controller files and jumps to the action method
  • Refreshes automatically when route files change
  • Context menu actions for copying URI, route name, and controller action

Commands

  • Laravel Route Explorer: Show Routes
  • Laravel Route Explorer: Refresh Routes
  • Laravel Route Explorer: Scan Project

Laravel Project Detection

The extension activates only when:

  • an artisan file exists in the workspace root
  • composer.json contains laravel/framework

Development

Install dependencies and compile:

npm install
npm run compile

Run the extension from VS Code with Run Extension.

Notes

Route parsing is static and intentionally avoids booting Laravel. Very dynamic route declarations, variables used for controller names, or routes loaded outside the standard route files may not be detected.

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