yusov/media-manager
Composer 安装命令:
composer require yusov/media-manager
包简介
Package for processing image
README 文档
README
Media manager
This package can process images through the Imagic library with a custom configs.
####Dependencies:
php 7.4,
intervention/image,
laravel/framework,
league/flysystem,
ramsey/uuid.
####Installation:
- Register
MediaManager\Providers\ServiceProvider::classin app.php in providers. - Init
vendor:publish MediaManagerfor publishing media.php config file, then restore application config caches.
####Example of usage:
Class ImageMediaService has a couple of methods for processing images:
upload(configurator, model, file);- `delete(configurator, model);
####Helpers:
PathHelper::class can prepare full path according the image model.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-10-29