Laravel Idea completes controller methods in the route files.
Single action controllers are also supported:
Completion understands Route::group
calls with namespaces:
Correct references to methods and classes:
Complex case:
Route::group
parameters:
Namespace:
Middleware:
Resource controller method names:
Laravel Idea analyzes RouteServiceProvider
for Laravel or bootstrap/app.php
file for Lumen and tries to find all needed information about route files there: route files, root namespaces, route name prefixes, etc. For some complex cases when route files are included with non-standard way, helper phpDoc comments can be added there to have same completions: