Package Data | |
---|---|
Maintainer Username: | jaykeren |
Maintainer Contact: | jaykeren@gmail.com (Akhmad Jazuli) |
Package Create Date: | 2017-02-18 |
Package Last Update: | 2019-03-18 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-09 15:03:35 |
Package Statistics | |
---|---|
Total Downloads: | 436 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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 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