所属分类:php教程
下面由laravel教程栏目给大家介绍快速安装laravel框架的IDE提示工具,希望对需要的朋友有所帮助!
快速安装laravel框架的IDE提示工具
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
以上就是怎么快速安装laravel框架的IDE提示工具的详细内容,更多请关注zzsucai.com其它相关文章!