Tyler ' s Blog
Don't take any risk, do nothing, nothing, nothing. involves technical php,.net,bi (business intelligence).
- Blog Park
- Home
- New Essays
- Contact
- Subscription
- Management
Essays-304 Articles-0 comments-495
Phpstorm Add Laravle Syntax support
The Phpstorm artifact can support a more friendly Laravel framework code hint, just do the following:
First step: Add the following line to the Composer.json of the project
1 "require": {2 "laravel/framework": "5.0.*", 3 "Barryvdh/laravel-ide-helper": "Dev-master" 4}
Step two: Perform composer update
Step Three: Add service provider, open the project config/app.php add the following line to providers:
Barryvdh\laravelidehelper\idehelperserviceprovider::class,
Fourth step: Execute PHP Artisan ide-helper:generate
Fifth step: Modify Composer.json, add a row
"Post-update-cmd": [ "PHP artisan clear-compiled", "PHP artisan optimize", "PHP artisan ide-helper: Generate "]
Posted @ 2016-05-17 14:46nd Read (...) Comments (...) edit
copyright©2016th
Author: Tyler Ning Source: http://www.cnblogs.com/tylerdonet This article is copyright to the author and the blog Park is shared, welcome reprint, but without the consent of the author must retain this statement, and in the article page obvious location to give the original text connection, Otherwise, the right to pursue legal liability is retained.