phpstrom laravel代码自动提示

Posted 林间有风

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了phpstrom laravel代码自动提示相关的知识,希望对你有一定的参考价值。

 

 

1.安装composer包

composer require barryvdh/laravel-ide-helper dev-master

2.目录:\\config\\app.php
  的\'providers\' => []最后一行添加:

Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider::class,

3.执行php
php artisan ide-helper:generate




 

 

参考文章:https://packagist.org/packages/barryvdh/laravel-ide-helper

 

以上是关于phpstrom laravel代码自动提示的主要内容,如果未能解决你的问题,请参考以下文章