Home > Article > Backend Development > PHP IDE PHPStorm configuration supports friendly Laravel code prompt method
PHPStorm artifact can support more friendly laravel framework code prompts (click to view), you only need to do the following:
Step 1: Add the following line to the project's composer.json
"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:
'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',
Step 4: Execute php artisan ide-helper:generate
Step 5: Modify composer.json and add a line
"post-update-cmd": [ "php artisan clear-compiled", "php artisan optimize", "php artisan ide-helper:generate" ]
For more PHP IDE PHPStorm configuration support friendly Laravel code prompt methods, please pay attention to the PHP Chinese website for related articles!
Related articles:
How does phpStorm use FTP and SSH to connect to the virtual machine Linux system?