用composer安装 larave-ide-helper

cd /myweb/html/yourname
composer require barryvdh/laravel-ide-helper

 安装 doctrine/dbal 「请装上它,在为模型注释字段的时候必须用到它」

# 如果只想在开发环境安装请加上 --dev
composer require "doctrine/dbal: ~2.3" 

2 配置

2.1 在 「config/app.php」的 「providers」数组中加入

Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class

 

参考 https://learnku.com/articles/10172/laravel-super-good-code-prompt-tool-laravel-ide-helper

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2021-10-07
  • 2022-01-22
  • 2021-07-27
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2021-09-14
相关资源
相似解决方案