Home  >  Article  >  Backend Development  >  PHP IDE PHPStorm配置支持友好Laravel代码提示方法_PHP

PHP IDE PHPStorm配置支持友好Laravel代码提示方法_PHP

WBOY
WBOYOriginal
2016-06-01 14:35:26851browse

PHPStorm神器可以支持更友好的laravel框架代码提示(点击查看),只需要执行如下才做:
第一步:在项目的composer.json中添加如下一行

代码如下:


"require": {
"laravel/framework": "5.0.*",
代码如下:


代码如下:


"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize",
"php artisan ide-helper:generate"
 
]


看看效果:

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn