Laravel Extra IntellisenseThis extension provides Laravel routes, views and ... autocomplete for VSCode. Autocomplete
Route names and route parametersViews and variablesConfigsTranslations and translation parametersLaravel mix functionValidation rulesView sections and stacksEnvRoute MiddlewaresConfigurationLaravelExtraIntellisense.customValidationRules:Your custom validation rules snippets. Example:
LaravelExtraIntellisense.phpCommandCommand to run PHP codes to interact with your Laravel application. Default:
LaravelExtraIntellisense.basePathBase path of your Laravel application. useful if your Laravel project is not at the root of you project directory.
LaravelExtraIntellisense.basePathForCodeSame as LaravelExtraIntellisense.viewDirectorySeparatorYou also can use LaravelExtraIntellisense.modelsPathsArray of paths including your models. (Default: LaravelExtraIntellisense.modelVariablesVariable names that should provide autocomplete with specific model class. Finding variable type (especially in views) is not easy so you need to manually define variable types. Example: The Following setting provides auto completion each time you type
LaravelExtraIntellisense.modelAttributeCaseChange model attribute names case to LaravelExtraIntellisense.modelAccessorCaseChange model accessor names case to LaravelExtraIntellisense.disableBladeIf you want to disable blade directives autocomplete set this to true. LaravelExtraIntellisense.disableAuthIf you want to disable authorization autocomplete set this to true LaravelExtraIntellisense.disableErrorAlertHide error alerts when extension can't get data from your application. Sample config to use dockerThis is a simple configuration to use via Laradock.
Another sample for Laravel Sail.
Default YOUR_SERVICE_NAME for Laravel sail is It is possible to use this extension with other docker images or even other virtual machines. Security NoteThis extension runs your Laravel application automatically and periodically to get the information needed to provide autocomplete. So if you have any unknown errors in your log make sure the extension not causing it. Also if you writing any sensitive code in your service providers, disable the extension temporarily to prevent unwanted application executing. Release Notes0.6.x
0.5.x
0.4.x
0.3.x
0.2.x
0.1.x
0.0.x
Recommended extensions
Credits |