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

WBOY
Release: 2016-06-01 14:35:26
Original
850 people have browsed it

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

代码如下:


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


代码如下:


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


看看效果:

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template