Skip to content

Routes ​

Route names ​

The plugin automatically scans all route files in your project, retrieves route names and provides autocompletion and navigation for them.

The plugin offers route name autocompletion and navigation for the following methods:

  • route()
  • to_route()
  • signedRoute()
  • Illuminate\Support\Facades\Redirect::route()
  • Illuminate\Support\Facades\Redirect::signedRoute()
  • Illuminate\Support\Facades\URL::route()
  • Illuminate\Support\Facades\URL::signedRoute()

Routing

Middlewares ​

It can complete all available laravel middleware aliases and groups.

Routing

It provides autocompletion and resolving for the following methods:

  • Route::withoutMiddleware()
  • Route::middleware()

Namespaces ​

It also completes all available namespaces.

Routing

Controller methods ​

When you create a new route and the used controller method does not exist yet, the plugin will suggest to create it for you.

Routing

Undefined Route name detection ​

When you use a route name in your code, which does not exist yet, the plugin will warn you about it.

Routing

This feature is enabled by default, but you can disable it in the settings.

Routing

Copyright © 2025 Alireza-Moh | MIT License