Phpstorm Add Laravle Syntax support

Source: Internet
Author: User
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.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.