I prefer to use vscode for the laravel project.
I am a beginner and recently I got work on a company project. so I need to clone the project. but I am getting a class error in my vscode but the project running perfectly.
I can solve the error by importing class by importing Illuminate\Support\Facades\ClassName.
The problem is I have to go into each file and Import the required class in my PHP file. that is not ok.
I am using PHP intelephence extension for the autosuggestion. if I disable the intelephence I am not getting this class error. but not getting auto-completion.
How can I deal with this issue?.
Give me some suggestions and solutions to deal with these issues.
Thanks in advance.