invinbg/laravel-upload-image
Composer 安装命令:
composer require invinbg/laravel-upload-image
包简介
Laravel Upload Image
README 文档
README
Installation
You can install this package quickly and easily with Composer.
Require the package via Composer:
$ composer require invinbg/laravel-upload-image
Finally publish the config file:
$ php artisan vendor:publish --provider="InviNBG\UploadImage\UploadImageServiceProvider"
Laravel Integration
The Image Cache class supports Laravel integration. Best practice to use the library in Laravel is to add the ServiceProvider and Facade of the Intervention Image Class.
Open your Laravel config file config/app.php and add the following lines.
In the $providers array add the service providers for this package.
'providers' => array(
[...]
'Intervention\Image\ImageServiceProvider'
),
Add the facade of this package to the $aliases array.
'aliases' => array(
[...]
'Image' => 'Intervention\Image\Facades\Image'
),
统计信息
- 总下载量: 1.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-04