Home >Backend Development >PHP Tutorial >Laravel 生成_ide_helper.php文件

Laravel 生成_ide_helper.php文件

WBOY
WBOYOriginal
2016-06-20 12:45:191298browse

Github https://github.com/barryvdh/laravel-ide-helper

本文为Laravel5.1版本。

laravel配置好的前提下,并且已安装composer。

进入项目根目录执行

composer require barryvdh/laravel-ide-helper

然后在config/app.php的providers中添加

Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,

接着运行生成命令

php artisan clear-compiledphp artisan ide-helper:generatephp artisan optimize


Statement:
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