blue32a/laravel-intervention-image
最新稳定版本:v1.0.0
Composer 安装命令:
composer require blue32a/laravel-intervention-image
包简介
Bind Intervention Image to Laravel.
README 文档
README
Bind Intervention Image to Laravel.
Installation
Install by running the following command.
composer require blue32a/laravel-intervention-image
Publish the configuration file by running the following command.
php artisan vendor:publish --tag=intervention-image
Register a service provider in the config/app.php configuration file.
'providers' => ServiceProvider::defaultProviders()->merge([ Blue32a\Laravel\Intervention\Image\ImageServiceProvider::class, // ... ])->toArray(),
Example
The manager instance is injected as shown in the following code.
namespace App\Http\Controllers; use Intervention\Image\ImageManager; class ImageController extends Controller { public function index(ImageManager $manager) { // ... } }
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-01