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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

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)

Laravel Introduction Example Laravel Introduction Example Apr 18, 2025 pm 12:45 PM

Laravel is a PHP framework for easy building of web applications. It provides a range of powerful features including: Installation: Install the Laravel CLI globally with Composer and create applications in the project directory. Routing: Define the relationship between the URL and the handler in routes/web.php. View: Create a view in resources/views to render the application's interface. Database Integration: Provides out-of-the-box integration with databases such as MySQL and uses migration to create and modify tables. Model and Controller: The model represents the database entity and the controller processes HTTP requests.

Solve caching issues in Craft CMS: Using wiejeben/craft-laravel-mix plug-in Solve caching issues in Craft CMS: Using wiejeben/craft-laravel-mix plug-in Apr 18, 2025 am 09:24 AM

When developing websites using CraftCMS, you often encounter resource file caching problems, especially when you frequently update CSS and JavaScript files, old versions of files may still be cached by the browser, causing users to not see the latest changes in time. This problem not only affects the user experience, but also increases the difficulty of development and debugging. Recently, I encountered similar troubles in my project, and after some exploration, I found the plugin wiejeben/craft-laravel-mix, which perfectly solved my caching problem.

Laravel user login function Laravel user login function Apr 18, 2025 pm 12:48 PM

Laravel provides a comprehensive Auth framework for implementing user login functions, including: Defining user models (Eloquent model), creating login forms (Blade template engine), writing login controllers (inheriting Auth\LoginController), verifying login requests (Auth::attempt) Redirecting after login is successful (redirect) considering security factors: hash passwords, anti-CSRF protection, rate limiting and security headers. In addition, the Auth framework also provides functions such as resetting passwords, registering and verifying emails. For details, please refer to the Laravel documentation: https://laravel.com/doc

Laravel framework skills sharing Laravel framework skills sharing Apr 18, 2025 pm 01:12 PM

In this era of continuous technological advancement, mastering advanced frameworks is crucial for modern programmers. This article will help you improve your development skills by sharing little-known techniques in the Laravel framework. Known for its elegant syntax and a wide range of features, this article will dig into its powerful features and provide practical tips and tricks to help you create efficient and maintainable web applications.

How to learn Laravel How to learn Laravel for free How to learn Laravel How to learn Laravel for free Apr 18, 2025 pm 12:51 PM

Want to learn the Laravel framework, but suffer from no resources or economic pressure? This article provides you with free learning of Laravel, teaching you how to use resources such as online platforms, documents and community forums to lay a solid foundation for your PHP development journey from getting started to master.

Laravel6 actual combat video Laravel6 actual combat video Apr 18, 2025 pm 12:36 PM

To learn Laravel 6, you can get video tutorials from Laracasts (recommended), official documentation and YouTube. Recommended courses include Laracasts’ “Laravel 6 From Beginner to Mastery” and “Official Laravel 6 Tutorial” produced by the official team. When choosing a video course, consider skill level, teaching style, project experience and frequency of updates.

How to view the version number of laravel? How to view the version number of laravel How to view the version number of laravel? How to view the version number of laravel Apr 18, 2025 pm 01:00 PM

The Laravel framework has built-in methods to easily view its version number to meet the different needs of developers. This article will explore these methods, including using the Composer command line tool, accessing .env files, or obtaining version information through PHP code. These methods are essential for maintaining and managing versioning of Laravel applications.

How to use Composer to improve the security of Laravel applications: Applications of wiebenieuwenhuis/laravel-2fa library How to use Composer to improve the security of Laravel applications: Applications of wiebenieuwenhuis/laravel-2fa library Apr 18, 2025 am 11:36 AM

When developing a Laravel application, I encountered a common but difficult problem: how to improve the security of user accounts. With the increasing complexity of cyber attacks, a single password protection is no longer enough to ensure the security of users' data. I tried several methods, but the results were not satisfactory. Finally, I installed the wiebenieuwenhuis/laravel-2fa library through Composer and successfully added two-factor authentication (2FA) to my application, greatly improving security.

See all articles