jaykeren / laravel-image-moo by jaykeren

Laravel Image Moo, helper image processing library (codeigniter image_moo library) created by mat-moo (http://www.matmoo.com/digital-dribble/codeigniter/image_moo).
373
2
2
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: 2021-10-12 15:05:48
Package Statistics
Total Downloads: 373
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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).

install instructions

  1. install by composer

     $ composer require jaykeren/laravel-image-moo
    
  2. add service provider in config/app.php

     'providers' => [
     	      //...
           Jaykeren\ImageMoo\ImageMooServiceProvider::class,
         //...
     ],
    
  3. 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);
    
  4. you're ready to go