VS Code Extensions for PHP Laravel Developer
Tags: php, laravel, programming, vscode
Published: 2022-04-16 04:02:18

Hola Developers  !

**VS code** is the free alternative to **phpstorm ** and there is more than one extension that facilitates the code process and is characterized by being light, fast and flexible

- [Laravel Blade Snippet](https://marketplace.visualstudio.com/items?itemName=onecentlin.laravel-blade)

Laravel blade snippets and syntax highlight support for Visual Studio Code.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jzqfd5c9sqka4vtp5vt5.gif)

- [Laravel Snippets](https://marketplace.visualstudio.com/items?itemName=onecentlin.laravel5-snippets)

Laravel snippets extension for Visual Studio Code (Support Laravel 5 and above version).

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fc4g4ds4v24cj7etv6wj.gif)

- [Laravel goto view](https://marketplace.visualstudio.com/items?itemName=codingyu.laravel-goto-view)

Click into to the name of the view in the controller 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9eju9vdc2u8o14c4mekm.gif)

- [Laravel Extra Intellisense](https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.laravel-extra-intellisense)

This extension provides Laravel routes, views and ... autocomplete for VSCode.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s5q51g4jite2sc48m45e.gif)

- [Laravel Model Snippets](https://marketplace.visualstudio.com/items?itemName=ahinkle.laravel-model-snippets)

Improve your workflow with Laravel Model Snippets. Start with Model:: then the shortcut of what you are looking for within your model.

For example, Model::d will return the muted dates attribute:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k1j6cipru3at1v4kbupx.gif)

- [PHP Intelephense](https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client)

PHP code intelligence for Visual Studio Code.

Intelephense is a high performance PHP language server packed full of essential features for productive PHP development.

- [PHP Namespace Resolver](https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-namespace-resolver)

PHP Namespace Resolver can import and expand your class. You can also sort your imported classes by line length or in alphabetical order.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a3ivsjvcda42t6qamgrv.gif)

- [PHP Constructor](https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-constructor)

PHP Constructor can initialize constructor properties like insert_php_constructor_property command of SublimePHPCompanion.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j9i2xqskyru1zlz1zx9h.gif)

## Tools To front end what interact with php laravel :

- [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)

Vue tooling for VS Code.

- [Tailwind CSS IntelliSense Preview](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)

Intelligent Tailwind CSS tooling for VS Code


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j2sjderu40ktjz8wlthl.png)


## Extension to make our code more beautiful and easier : 

- [ Rainbow Brackets](https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets&ssr=false#review-details)
 
Provide rainbow colors for the round brackets, the square brackets and the squiggly brackets. This is particularly useful for Lisp or Clojure programmers, and of course, JavaScript, and other programmers.

- [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag)

Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text does.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yh6e2jyhar9g1ln3vk3y.gif)

## Nice Themes ! 

- [Aura Theme](https://marketplace.visualstudio.com/items?itemName=DaltonMenezes.aura-theme)

 A beautiful dark theme with four variants for Visual Studio Code. Two of these variants are focused on long-term work without 
causing any discomfort to the eyes.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/makwrlrna3pmpp2f5wpi.png)

In the end, I gave all the additions I know and considered useful. If there is more, you can add them in the comments. Thank you