nextimage/nextimage

NextImage is a PHP Packages for images resizing

Installs: 97

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/nextimage/nextimage

v1.0.4 2020-11-03 09:49 UTC

This package is auto-updated.

Last update: 2025-10-29 02:50:31 UTC


README

NextImage is a ** PHP image resizing ** library providing an easier and expressive way to create, edit, and compose images.

Latest Version Monthly Downloads

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.