yusov / media-manager
There is no license information available for the latest version (0.1.1) of this package.
Package for processing image
0.1.1
2021-10-29 15:09 UTC
Requires
- php: ^7.4
- intervention/image: ^2.7
- laravel/framework: 6.*
- league/flysystem: 2.x-dev
- ramsey/uuid: ^3.7
This package is auto-updated.
Last update: 2024-10-16 22:49:38 UTC
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::class
in app.php in providers. - Init
vendor:publish MediaManager
for 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.