一文讲解phpstorm如何安装ide
时间:2021-08-24
来源:互联网
标签:
今天PHP爱好者给大家带来下面由phpstorm教程栏目给大家介绍phpstorm 基于lumen如何安装ide-helper,希望对需要的朋友有所帮助!希望对大家有所帮助。
phpstorm 基于lumen安装ide-helper
为了提高开发效率,也方便在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(Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
自动生成
php artisan ide-helper:generate
报错
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.htmlhttps://github.com/barryvdh/laravel-ide-helper/issues/723
以上就是一文讲解phpstorm如何安装ide-helper(基于lumen)的详细内容,更多请关注php爱好者其它相关文章!
-
如何注册谷歌账号(谷歌账号注册方法) 怎么跳过手机验证 时间:2025-09-29
-
access数据库8个经典实例 时间:2025-09-29
-
mmc.exe是什么进程 mmc.exe应用程序错误的原因及解决方法 时间:2025-09-29
-
4种基本的编程命名规范介绍(匈牙利命名法、驼峰式命名法、帕斯卡命名法、下划线命名法) 时间:2025-09-29
-
Ghostscript下载、安装教程 Ghostscript命令参数详解 时间:2025-09-29
-
Linux中内存管理NUMA架构详解 时间:2025-09-29
今日更新
-
揭秘网络四大梗:爆笑名场面背后的神转折,一次看懂全网热梗来龙去脉!
阅读:18
-
四大狗贼是什么梗?揭秘网络热词背后的爆笑真相,看完秒懂!
阅读:18
-
四大虐梗是什么梗?揭秘网络最扎心四大名场面,看完泪崩!
阅读:18
-
全境封锁手游需要什么配置-全境封锁手机配置
阅读:18
-
恋与制作人2025中秋节福利情报-登录可获得中秋赠礼
阅读:18
-
燕云十六声跑图长鸣玉获得方法-快速积攒长鸣玉
阅读:18
-
第五人格第四十赛季精华1时装囚徒黎明赋格设计公布
阅读:18
-
元梦之星美团皮肤怎么获取-圆梦美团皮肤获取
阅读:18
-
华夏绘世录中秋活动金秋献瑞明日开启-参与得奖励
阅读:18
-
QQ飞车T车孙悟空有什么特性-孙悟空赛车技能
阅读:18