nextimage / nextimage
NextImage is a PHP Packages for images resizing
v1.0.4
2020-11-03 09:49 UTC
Requires
- php: ^7.2
- illuminate/config: 6.5.*
Requires (Dev)
- mockery/mockery: 1.2.*
- phpunit/phpunit: 8.*
- symfony/var-dumper: 5.*
This package is auto-updated.
Last update: 2024-04-29 03:57:48 UTC
README
NextImage is a ** PHP image resizing ** library providing an easier and expressive way to create, edit, and compose images.
Requirements
- PHP >=5.5
Getting started
Code Examples
use Nextimage\Nextimage\Resize; // open an image file $Resize=new Resize($photo,$ext); // resize the image, type can be default:aspect ratio,exact,maxwidth,maxheight $Resize->resizeTo('width','height','type'); // path is where to save the image $Resize->saveImage('public/image.jpg');
License
NextImage is licensed under the MIT License.