Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Vscode Blade Formatter | 3,327 | 3 days ago | 26 | mit | TypeScript | |||||
An opinionated Blade file formatter for VSCode | ||||||||||
Vscode Laravel Extra Intellisense | 2,667 | a month ago | 18 | mit | TypeScript | |||||
This extension adds extra autocompletion for laravel projects to VSCode. | ||||||||||
Blade Formatter | 375 | 2 | 3 days ago | 134 | July 12, 2022 | 20 | mit | TypeScript | ||
An opinionated blade template formatter for Laravel that respects readability | ||||||||||
Laravel Intellisense | 152 | 2 years ago | 5 | mit | TypeScript | |||||
Laravel VScode extension | ||||||||||
Laravel Blade Snippets Vscode | 116 | 2 | 6 months ago | 1 | October 13, 2020 | 61 | mit | TypeScript | ||
Laravel blade snippets and syntax highlight support for Visual Studio Code | ||||||||||
Torchlight Laravel | 94 | a month ago | 26 | February 14, 2023 | 11 | mit | PHP | |||
A Laravel client for Torchlight - the syntax highlighting API. | ||||||||||
Vscode Laravel Artisan | 59 | 2 months ago | 1 | TypeScript | ||||||
Visual Studio Code Laravel Artisan Extension | ||||||||||
Vscode Laravel Pint | 52 | 3 months ago | 5 | mit | TypeScript | |||||
🍺 Integrates Laravel Pint into your VSCode projects for automatic code formatting | ||||||||||
Ldvsc | 32 | 3 years ago | mit | Dockerfile | ||||||
A Docker based Developer environment for working with Laravel applications | ||||||||||
Laravel Devcontainer | 28 | 2 years ago | 2 | mit | Dockerfile | |||||
📦 Fully-Dockerised Laravel development in Visual Studio Code |
This extension provides Laravel routes, views and ... autocomplete for VSCode.
Your custom validation rules snippets.
Example:
"LaravelExtraIntellisense.customValidationRules": {
"mobile": "mobile",
"distance_gt": "distance_gt:${0:1km}"
}
Command to run PHP codes to interact with your Laravel application.
Default:
php -r \"{code}\"
Note: {code} is PHP code generated by extension and should be wrapped with "".
Base path of your Laravel application. useful if your Laravel project is not at the root of you project directory.
Same as LaravelExtraIntellisense.basePath
but this one using for require_once
in generated PHP codes.
You also can use /
instead of .
as directory separator for view autocomplete.
Array of paths including your models. (Default: ["app", "app/Models"]
)
Variable 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 discountedProduct->
with App\Models\Product
model attributes.
"LaravelExtraIntellisense.modelVariables": {
"discountedProduct": "App\\Models\\Product"
}
All
camelCase
andsnake_case
of model names provide autocomplete by default. For exampleproductDiscount
andproduct_discount
provides member autocomplete fromApp\Models\ProductDiscount
model.
Change model attribute names case to snake_case
, camelCase
or default
. (Default = default
)
Change model accessor names case to snake_case
, camelCase
or default
. (Default = snake
)
If you want to disable blade directives autocomplete set this to true.
If you want to disable authorization autocomplete set this to true
This is a simple configuration to use via Laradock.
"LaravelExtraIntellisense.phpCommand": "docker exec -w /var/www/your-project -u laradock laradock_workspace_1 php -r \"{code}\"",
"LaravelExtraIntellisense.basePathForCode": "/var/www/your-project"
Another sample for Laravel Sail.
"LaravelExtraIntellisense.basePathForCode": "/var/www/html",
"LaravelExtraIntellisense.phpCommand": "docker-compose exec -w /var/www/html YOUR_SERVICE_NAME php -r \"{code}\""
It is possible to use this extension with other docker images or even other virtual machines.
This 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.
asset
support.env
autocomplete added.middleware
autocomplete added.can
, cannot
autocomplete.Validator
class, validate
functions and inside request classes.markdown
function added to view functions for autocomplete.Route::get
, *Route::post
, ... autocompletes controller actions inside app\Http\Controllers.