A VS Code extension that adds Laravel-specific autocompletion for routes, views, config, translations, and more by querying the running application.
Overview
Laravel Extra Intellisense is a Visual Studio Code extension that augments the editor with autocomplete tailored to Laravel projects. It is meant for developers who want route names, view paths, configuration keys, and similar framework-aware suggestions while coding.
Autocomplete coverage includes route names and parameters, views and variables, config entries, translations, Laravel Mix and Vite helpers, validation rules, view sections and stacks, environment values, route middleware, assets, blade directives, and beta model attributes. Settings let you tune PHP command execution, base paths, model search paths, attribute casing, and optional Docker-based PHP via Laradock or Laravel Sail.
The extension runs your Laravel application automatically and on a schedule to collect data for suggestions. Documentation advises reading the security note before use, since bootstrapping the app can trigger code in service providers; you can disable the extension temporarily when working on sensitive startup logic.
Workspace layouts with multiple roots, nested translations, Vite autocompletion, and Docker or VM-based PHP commands are supported through configuration rather than a single fixed setup.
Key features
- Route and route parameter completion
- View and config autocomplete
- Translation and env suggestions
- Mix and Vite helper completion
- Validation rule suggestions
- Blade directive autocomplete
- Docker and Sail PHP command config
- Custom model path and variable mapping
Use cases
- Autocomplete Laravel routes in VS Code
- Complete view names and config keys
- Develop inside Docker-based Laravel stacks
- Map view variables to Eloquent models