Hi @sandeepbhambre,
That’s a nice question. Here is the list I usually use alongside an explanation as to why:
Laravel Blade Snippets
Laravel Artisan
Git
PHP Debug
PHP Intelephense
Here is why:
Laravel Blade Snippets
Basically, It’s used for syntax highlighting. It comes with Emmet installed in it as well which helps with faster generathing HTML div, p, head, and many more elements. Except the HTML stuff, it can generate Laravel Blade codes. If you want to add a section, you just need to do:
b:section
and it generates it for you.
If you learn to use it, it can help you quickly do a lot of stuff.
Laravel Artisan
This extension lets you run Laravel Artisan commands from within Visual Studio Code. This is quite handy again as it saves time. Other features of this extension are :
- Supports multiple instances of artisan in the same workspace hierarchy
- Make files (Controllers, Migrations, Models, etc)
- Run Custom Commands
- Manage the database
- Clear Caches
- Generate Keys
- View all routes
- Start/stop a local php server for test purposes
- Docker support
Git
This one is self-explanatory. Most of the time the projects I work on are saved on git. This extension lets me make commits directly from VS.
PHP Debug and PHP Intelephense
Well, controllers are PHP with more classes in them. Most often than not these two extensions help me sort a typo, problem in my syntax etc. Afterall it’s PHP.
Regards,
KFSys