8 Awesome Laravel Development Extensions for VSCode
This article is a list of the top 8 VSCode extensions for Laravel developers, which will help you improve your work efficiency!
1. Laravel Blade Snippet
Laravel Blade Snippet The extension adds syntax for Laravel Blade to your VS Code editor Highlighting support. [Recommended learning: vscode tutorial, Programming teaching]
Some of the main functions of this extension are:
- Blade syntax highlighting
- Blade Snippets
- Emmet works in Blade templates
- Blade Format
Some additional configuration is required to ensure that the extension works as expected. In File
-> Preferences
-> Settings
and add the following to your settings.json
:
"emmet.triggerExpansionOnTab": true,"blade.format.enable": true,"[blade]": { "editor.autoClosingBrackets": "always"},
This will enable tab completion for Emmet tags if the blade formatting is enabled.
For more information on the available Snippets, be sure to check out the documentation:
2. Laravel Snippets
This is probably my personal favorite! This Laravel Snippets extension adds code snippets to the appearance of Request::
, Route::
etc.
Some supported fragment prefixes include:
- Authentication
- Broadcast
- Cache
- Configuration
- Console
- Cookie
- Encryption
- Database
- Events
- View
About available fragments For more information, be sure to check out the documentation here:
3. Laravel Blade Snippet
When you try to Isn't it annoying when you use {{ }}
in a Blade view and your entire line returns 4 spaces? Well, luckily, this Laravel Blade Snippet solves that problem!
The Laravel blade fragment extension automatically adds spacing to your blade template tags:
For more information, be sure to check out the documentation here:
4. Laravel Artisan
I personally always prefer using the command line, but I must admit this Laravel Artisan extension is awesome! It allows you to run Laravel Artisan commands directly from Visual Studio Code!
The main functions of Some are:
- Create controller, migration and other files.
- Run your own custom commands
- Manage your database
- Clear cache
- Generate keys
- View all applications Routing
- Manage your local php server for testing purposes
For more information, be sure to check out the documentation here:
5. Laravel Extra IntelliSense
ThisLaravel Extra IntelliSense extension provides auto-completion for Laravel in VSCode.
This extension has the following autocomplete features:
- Route Name and Route Parameters
- Views and Variables
- Configuration
- Translating and Converting Parameters
- Laravel Mix Functions
- Validation Rules
- View Sections and Stacks
- Environment
- Route Middleware
For more information, be sure to check out the documentation here:
6. Laravel Goto Controller
As the application grows, the number of controllers also grows, so at some point, you may end up with hundreds of controllers. Hans's wayfinding can be tedious.
This is exactly the problem Laravel-goto-controller VScode extension solves.
This extension allows you to press Alt
and click on a controller name in a route file, and it will guide you from the route to the corresponding controller file:
For more updates For more information, please view the documentation:
7. Laravel goto View
is very similar to the Laravel goto Controller extension extension, Laravel goto View VScode extension Allows you to go to View files from Controller or Route. This can save you a lot of time!
You can click to jump to the first matching Blade view file using Ctrl
or Alt
:
For more information, be sure to Check out the documentation here:
8. DotENV syntax highlighting
This is very simple, but very convenient. This DotENV VS Code extension is used to highlight the syntax of .env
files, which is very handy for finding some issues.
For more information, be sure to check this Documentation at:
Conclusion
If you like all these extensions, you can check out for Visual Studio Code's Laravel Extension Pack where you can get all the mentioned extensions as 1 bundle
The only extension not included in the package is the Laravel Blade snippet, so make sure to install it separately!
I hope this is useful to you!
Original address: https://devdojo.com/bobbyiliev/8-awesome-vs-code-extensions-for-laravel-developers
Translation address: https:// learnku.com/laravel/t/71392
[Related recommendations: laravel video tutorial]
The above is the detailed content of 8 Awesome Laravel Development Extensions for VSCode. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

The latest versions of Laravel 9 and CodeIgniter 4 provide updated features and improvements. Laravel9 adopts MVC architecture and provides functions such as database migration, authentication and template engine. CodeIgniter4 uses HMVC architecture to provide routing, ORM and caching. In terms of performance, Laravel9's service provider-based design pattern and CodeIgniter4's lightweight framework give it excellent performance. In practical applications, Laravel9 is suitable for complex projects that require flexibility and powerful functions, while CodeIgniter4 is suitable for rapid development and small applications.

In the world of front-end development, VSCode has become the tool of choice for countless developers with its powerful functions and rich plug-in ecosystem. In recent years, with the rapid development of artificial intelligence technology, AI code assistants on VSCode have sprung up, greatly improving developers' coding efficiency. AI code assistants on VSCode have sprung up like mushrooms after a rain, greatly improving developers' coding efficiency. It uses artificial intelligence technology to intelligently analyze code and provide precise code completion, automatic error correction, grammar checking and other functions, which greatly reduces developers' errors and tedious manual work during the coding process. Today, I will recommend 12 VSCode front-end development AI code assistants to help you in your programming journey.

Compare the data processing capabilities of Laravel and CodeIgniter: ORM: Laravel uses EloquentORM, which provides class-object relational mapping, while CodeIgniter uses ActiveRecord to represent the database model as a subclass of PHP classes. Query builder: Laravel has a flexible chained query API, while CodeIgniter’s query builder is simpler and array-based. Data validation: Laravel provides a Validator class that supports custom validation rules, while CodeIgniter has less built-in validation functions and requires manual coding of custom rules. Practical case: User registration example shows Lar

Laravel - Artisan Commands - Laravel 5.7 comes with new way of treating and testing new commands. It includes a new feature of testing artisan commands and the demonstration is mentioned below ?

For beginners, CodeIgniter has a gentler learning curve and fewer features, but covers basic needs. Laravel offers a wider feature set but has a slightly steeper learning curve. In terms of performance, both Laravel and CodeIgniter perform well. Laravel has more extensive documentation and active community support, while CodeIgniter is simpler, lightweight, and has strong security features. In the practical case of building a blogging application, Laravel's EloquentORM simplifies data manipulation, while CodeIgniter requires more manual configuration.

When choosing a framework for large projects, Laravel and CodeIgniter each have their own advantages. Laravel is designed for enterprise-level applications, offering modular design, dependency injection, and a powerful feature set. CodeIgniter is a lightweight framework more suitable for small to medium-sized projects, emphasizing speed and ease of use. For large projects with complex requirements and a large number of users, Laravel's power and scalability are more suitable. For simple projects or situations with limited resources, CodeIgniter's lightweight and rapid development capabilities are more ideal.

For small projects, Laravel is suitable for larger projects that require strong functionality and security. CodeIgniter is suitable for very small projects that require lightweight and ease of use.
