yuzuru-s/resize-image

The PHP library can easily resize images.

1.0.0 2016-12-04 03:28 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:14:21 UTC


README

Coverage Status Build Status Stable Version Download Count License

The PHP library can easily resize images and allows you to adjust the height and width of the image and clip it.

Examples

example-org

example-20percent-test

Requirements

  • PHP
    • =5.5 >=5.6, >=7.0

  • Composer

Installation

  • Using composer
{
    "require": {
       "yuzuru-s/resize-image": "1.0.*"
    }
}
$ php composer.phar update yuzuru-s/resize-image --dev

How to use

Please check sample code

How to run unit test

Run with default setting.

% vendor/bin/phpunit -c phpunit.xml.dist

Currently tested with PHP 7.0.0

History

License

Copyright (c) 2016 YUZURU SUZUKI. See MIT-LICENSE for further details.

Copyright