laravel 让phpstorm不出现undefind类的插件
2015-10-31 13:47
615 查看
https://github.com/barryvdh/laravel-ide-helper
Install
Require this package with composer using the following command:composer require barryvdh/laravel-ide-helper
After updating composer, add the service provider to the
providersarray in
config/app.php
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
Automatic
phpDoc generation for Laravel Facades
You can now re-generate the docs yourself (for future updates)php artisan ide-helper:generate
Note:
bootstrap/compiled.phphas to be cleared first, so run
php artisan clear-compiledbefore generating (and
php artisan optimizeafter).
You can configure your composer.json to do this after each commit:
"scripts":{
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan ide-helper:generate",
"php artisan optimize"
]
},
相关文章推荐
- 浅谈php项目开发的总结
- 搭建php环境时解决jpeg6 make: ./libtool:命令未找到
- php设计模式小结
- php 股票信息查询类
- php ip2long 出现负数原因及解决方法
- php正则技巧,抓取、匹配中文、任意字符
- PHP中用到的一些正则
- PHP中的cURL的简单应用
- 去bom的php神器
- 【转载】RTP头结构定义
- redhat的tftp问题
- Cannot find PHPUnit in include path (.;C:\php5\pear)
- Notepad++ php格式化 支持php高亮和自动自动函数补全的功能 +安装插件的方法
- PHP解决抢购、秒杀、抢楼、抽奖等阻塞式高并发库存防控超量的思路方法
- 什么是CGI、FastCGI、PHP-CGI、PHP-FPM、Spawn-FCGI?
- php manual中的可修改范围
- PHP开发提高效率技巧
- CTP报单状态 OrderStatus全部状态
- php 字符串式非关联数组循环
- thinkphp第一节结构