WWW.lllT.neT下边由phpstorm实例教程频道给各位详细介绍phpstorm 根据lumen如何安装ide-helper,期待对必须的小伙伴有些协助!

一文解读phpstorm如何安装ide

为了更好地提升开发设计高效率,也便捷在model 中转化成大量的特性和方式,试着下ide-helper

组装

composer require barryvdh/laravel-ide-helper

Using version ^2.6 for barryvdh/laravel-ide-helper
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 11 installs, 0 updates, 0 removals
  - Installing composer/xdebug-handler (1.3.2): Loading from cache
  - Installing composer/spdx-licenses (1.5.1): Loading from cache
  - Installing symfony/filesystem (v4.2.5): Loading from cache
  - Installing justinrainbow/json-schema (5.2.8): Loading from cache
  - Installing seld/phar-utils (1.0.1): Loading from cache
  - Installing seld/jsonlint (1.7.1): Loading from cache
  - Installing composer/semver (1.5.0): Loading from cache
  - Installing composer/ca-bundle (1.1.4): Loading from cache
  - Installing composer/composer (1.8.4): Loading from cache
  - Installing barryvdh/reflection-docblock (v2.0.6): Loading from cache
  - Installing barryvdh/laravel-ide-helper (v2.6.2): Loading from cache
barryvdh/reflection-docblock suggests installing dflydev/markdown (~1.0)
barryvdh/laravel-ide-helper suggests installing doctrine/dbal (Load information from the database about models for phpdocs (~2.3))
Writing lock file
Generating optimized autoload files

配备中载入(bootstrap/app.php)

 //ide helper
 $app->register(BarryvdhLaravelIdeHelperIdeHelperServiceProvider::class);

自动生成

php artisan ide-helper:generate

出错

一文解读phpstorm如何安装ide

google 了下,应该是未组装这一拓展,组装

composer require league/flysystem

再实行 ,拿下

php artisan ide-helper:generate
A new helper file was written to _ide_helper.php

最好是把转化成的这种文档都放进git 忽视文档里

_ide_helper.php
_ide_helper_models.php
.phpstorm.meta.php

参照:
https://laravelacademy.org/post/4202.html

https://github.com/barryvdh/laravel-ide-helper/issues/723

以上便是一文解读phpstorm如何安装ide-helper(根据lumen)的详尽具体内容,大量请关心自学java网其他相关文章!

WWW.lllT.neT
标签: 工具使用
下载本文:一文解读phpstorm如何安装ide.doc

声明:有的资源来自网络转载,版权归原作者所有,如有侵犯到您的权益请联系邮箱:our333@126.com我们将配合处理!

原文地址:一文解读phpstorm如何安装ide发布于2021-12-08 11:27:01

相关推荐