phpstorm enhanced code hinting

1. In the project root directory command input

composer require barryvdh/laravel-ide-helper 

2. Add the config / app.php code as follows:

'providers' => [
 
  Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
 
]

3. command line:

php artisan ide-helper:generate 

 

Guess you like

Origin www.cnblogs.com/yaoliuyang/p/12300477.html