The following tutorial column will introduce you to the IDE prompt tool for quickly installing the laravel framework. I hope it will be helpful to friends who need it!
Quickly install IDE prompt tool for laravel frameworkUse this package with composer using the following command:composer require –dev barryvdh/laravel-ide-helper
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class
public function register(){if ($this->app->environment() !== 'production') { $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);}}
"scripts":{"post-update-cmd": [ "Illuminate\Foundation\ComposerScripts::postUpdate", "@php artisan ide-helper:generate", "@php artisan ide-helper:meta"]},
php artisan vendor:publish –provider="Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider" –tag=config
php artisan ide-helper:generate
The latest five Laravel videos Tutorial
The above is the detailed content of How to quickly install the IDE prompt tool of the laravel framework. For more information, please follow other related articles on the PHP Chinese website!