一文讲解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爱好者其它相关文章!
-
关于神舟精盾K460N电脑的一键U盘启动(神舟精盾k460n-i3 d1) 时间:2025-06-27
-
U盘启动中对内存的诊断方法(u盘启动数据还在吗) 时间:2025-06-27
-
U盘升级win7系统时出现蓝屏故障怎么办?(u盘从装win7系统) 时间:2025-06-27
-
U盘的禁用与启动设置(禁用u盘命令) 时间:2025-06-27
-
如何利用U盘启动盘破解电脑开机密码(如何通过u盘启动) 时间:2025-06-27
-
怎么在PE系统里面固定U盘盘符(怎么在pe系统里安装软件) 时间:2025-06-27
今日更新
-
php数组学习之怎么去除任意元素
阅读:18
-
js如何判断数组中是否有元素通过了测试
阅读:18
-
PHP如何输出20世纪的所有闰年
阅读:18
-
8款炫酷的音乐播放器效果(免费下载)
阅读:18
-
Angular怎么构建组件?3种方法介绍
阅读:18
-
小程序如何自定义tabbar组件,实现底部tab切换
阅读:18
-
PHP巧用date()函数计算闰年,打印21世纪的所有闰年
阅读:18
-
如何给wamp添加php7和apache
阅读:18
-
js如何创建一个具有可变数量的数组
阅读:18
-
Debian如何安装宝塔面板及配置v2ray服务器
阅读:18