Laravel常用扩展

Laravel常用扩展

Laravel常用扩展,记录一下,方便查找

1. ide-helper

composer require barryvdh/laravel-ide-helper

config/app.php文件中的providers 中添加Service Provider :

 Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
 php artisan ide-helper:generate

2. html组件

composer require illuminate/html

config/app.php文件中的providers 中添加Service Provider :

Illuminate\Html\HtmlServiceProvider::class,

在同文件中的aliases 中添加添加Facade :

'Form'      => Illuminate\Html\FormFacade::class,

3. 七牛云存储

composer require qiniu/php-sdk

4. phpexcel

composer require phpoffice/phpexcel

5. 验证码

composer require gregwar/captcha


Tags

Back to top