I am currently working on laravel project in visual studio code text editor. If i use laravel package classes in the code at that time i want to automatically import that class using any vs code extension. If you know any best extension for this let me know.
For example I am using Schema
class in the code then class should automatically imported like use use Illuminate\Support\Facades\Schema;
Visual Studio Code is an amazing code editor, one of my favorites next to Atom and Sublime Text. Laravel is my favorite when it comes to enterprise PHP development. In this article, let me show you how I have configured Visual Studio Code(vscode from now on) for Laravel development.
Use PHP Intelephense
extension by Ben Mewburn for auto importing class name and many more feature. Install from vs code editor or check it here
PHP Namespace Resolver extension for VSCode works fine for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With