Home > Backend Development > PHP Tutorial > PHP IDE PHPStorm configuration supports friendly Laravel code prompt method, phpstormlaravel_PHP tutorial

PHP IDE PHPStorm configuration supports friendly Laravel code prompt method, phpstormlaravel_PHP tutorial

WBOY
Release: 2016-07-13 09:54:09
Original
797 people have browsed it

PHPStorm configuration of PHP IDE supports friendly Laravel code prompt method. phpstormlaravel

PHPStorm artifact can support more friendly laravel framework code prompt (click to view). You only need to execute the following:
Step 1: Add the following line
to the project’s composer.json Copy code The code is as follows:
"require": {
"laravel/framework": "5.0.*",
"barryvdh/laravel-ide-helper":"dev-master"
}

Step 2: Execute composer update
Step 3: Add service provider, open the project config/app.php and add the following line to providers:
Copy code The code is as follows:
'BarryvdhLaravelIdeHelperIdeHelperServiceProvider',

Step 4: Execute php artisan ide-helper:generate
Step 5: Modify composer.json and add a line
Copy code The code is as follows:
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize",
"php artisan ide-helper:generate"

]

Take a look at the effect:

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/998556.htmlTechArticlePHP IDE PHPStorm configuration supports friendly Laravel code prompt method, phpstormlaravel PHPStorm artifact can support more friendly laravel framework code prompt ( Click to view), just execute the following...
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