jaykeren / laravel-image-moo
Laravel Image Moo, helper image processing library (codeigniter image_moo library) created by mat-moo (http://www.matmoo.com/digital-dribble/codeigniter/image_moo).
v1.0.3
2018-07-17 13:23 UTC
Requires
- php: >=5.4.0
- illuminate/support: 5.4.*
This package is not auto-updated.
Last update: 2024-11-09 20:39:47 UTC
README
Laravel Image Moo, helper image processing library (codeigniter image_moo library) created by mat-moo (http://www.matmoo.com/digital-dribble/codeigniter/image_moo).
install instructions
-
install by composer
$ composer require jaykeren/laravel-image-moo
-
add service provider in config/app.php
'providers' => [ //... Jaykeren\ImageMoo\ImageMooServiceProvider::class, //... ],
-
example usage
use Jaykeren\ImageMoo\Facades\ImageMoo; ImageMoo::load('/tmp/test.jpg') ->resize_crop(200, 200) ->set_jpeg_quality(60) ->save('/tmp/test_cropped.jpg', true);
-
you're ready to go