Table of Contents
3. Laravel Blade Snippet
2. Laravel Snippets
4. Laravel Artisan
5. Laravel Extra IntelliSense
6. Laravel Goto Controller
7. Laravel goto View
8. DotENV syntax highlighting
Conclusion
Home Development Tools VSCode 8 Awesome Laravel Development Extensions for VSCode

8 Awesome Laravel Development Extensions for VSCode

Dec 27, 2022 pm 08:08 PM
laravel vscode

This article is a list of the top 8 VSCode extensions for Laravel developers, which will help you improve your work efficiency!

8 Awesome Laravel Development Extensions for VSCode

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"},
Copy after login

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:

VSCode extension for laravel

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:

Larave's VSCode Extension

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:

laravel VSCode Extension

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:

VSCode for laravel Extension

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:

VSCode Extension for laravel

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:

VSCode extensions for laravel

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:

Laravel's VSCode extension

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:

VSCode Extensions for laravel

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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

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

Comparison of the latest versions of Laravel and CodeIgniter Comparison of the latest versions of Laravel and CodeIgniter Jun 05, 2024 pm 05:29 PM

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.

A new era of VSCode front-end development: 12 highly recommended AI code assistants A new era of VSCode front-end development: 12 highly recommended AI code assistants Jun 11, 2024 pm 07:47 PM

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.

How do the data processing capabilities in Laravel and CodeIgniter compare? How do the data processing capabilities in Laravel and CodeIgniter compare? Jun 01, 2024 pm 01:34 PM

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 - Artisan Commands Aug 27, 2024 am 10:51 AM

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 ?

Which one is more beginner-friendly, Laravel or CodeIgniter? Which one is more beginner-friendly, Laravel or CodeIgniter? Jun 05, 2024 pm 07:50 PM

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.

Laravel vs CodeIgniter: Which framework is better for large projects? Laravel vs CodeIgniter: Which framework is better for large projects? Jun 04, 2024 am 09:09 AM

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.

Laravel vs CodeIgniter: Which framework is better for small projects? Laravel vs CodeIgniter: Which framework is better for small projects? Jun 04, 2024 pm 05:29 PM

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.

See all articles