Phpstorm installation laravel-ide-helper for auto-completion, code hinting, and tracking

Source: Internet
Author: User

1, installation Composer do not explain, you search for it.

2. Add a line under Composer.json require:

"Barryvdh/laravel-ide-helper": "1.11.*"

Note This version number, in the official home page of the package, under the title of the Readme.md file, there is a stable v1.11.3 button, so the version I filled out 1.11.*

3, the project directory execution Composer Update, if the prompt permission error, then change the permissions of the wrong file.

4, execute: PHP artisan ide-helper:generate, this sentence and composer relationship is not big, this is in use Laravel-ide-helper, this command will generate something, to achieve automatic completion, code tracking support. After executing this sentence, write some code in controllers to see if the prompt function is normal.

Phpstorm installation laravel-ide-helper for auto-completion, code hinting, and tracking

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.