标签:ide .com 空间 compose pos margin style 位置 meta
1.插件位置laravel-ide-helper
https://github.com/barryvdh/laravel-ide-helper
2.首先改变镜像源为国内的镜像源
>>>composer config repo.packagist composer https://packagist.phpcomposer.com
3.安装插件laravel-ide-helper
>>>composer require barryvdh/laravel-ide-helper
4.添加到config/app.php的providers方法中
>>>Barryvdh\LaravelIdehelper\IdeHelperServiceProvider::class, // 命令空间位置
5.初始化laravel-ide-helper
>>>php artisan clear-compiled
>>>php artisan ide-helper:generate
>>>php artisan ide-helper:meta
>>>php artisan optimize
6.到此插件laravel-ide-helper已经安装完成
标签:ide .com 空间 compose pos margin style 位置 meta
原文地址:http://www.cnblogs.com/myall/p/6681954.html