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()
Middlewares
It can complete all available laravel middleware aliases and groups.
It provides autocompletion and resolving for the following methods:
Route::withoutMiddleware()
Route::middleware()
Namespaces
It also completes all available namespaces.
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.
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.
This feature is enabled by default, but you can disable it in the settings.