Laravel VScode extension
Laravel ide helper is a package that generates helper files that enable your IDE to provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date.
The package will help you generate a default ide helper file by just writing this command:
Generate Ide Helper
Or you can use the package directly to make it customizable with your projectlaravel-ide-helper
For resource autocompletion to work you will have to specify model namespace on
Settings>Extensions>Laravel Intellisense>Model namespaceby default it is
If you are using docker you will have to add the container name where your application lives in
Settings>Extensions>Laravel Intellisense>Dockerso the extension can run the script from there to get the attributes!
For example if im using an
appcontainer! I will be adding:
docker exec app
For the extension to work you need to have the database working! Since it needs the database to get the attributes.