安装ideHelp
- "barryvdh/laravel-ide-helper": "dev-master", "doctrine/dbal": "~2.3"
- composer update
- php artisan ide-helper:generate
链式语句代码不提示
1.
命令vendor:publish
导出 Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider的配置文件。
2.
目录app/config目录下
ide-helper.php中
修改
'include_fluent' => false
为
'include_fluent' => true,
3.
整理自:https://laravel-china.org/articles/10172/laravel-super-good-code-prompt-tool-laravel-ide-helper
php artisan ide-helper:generate
try or restart the pro, everything is ok?