reimage/reimage

Create modified images from original image on the fly

dev-main 2022-01-04 16:34 UTC

This package is auto-updated.

Last update: 2024-04-04 21:54:37 UTC


README

Reimage logo

About Reimage

Create modified images from original image on the fly.

Currently work in progress

Installing via Composer

composer require reimage/reimage

How does it work?

TODO

Requirements

The Reimage library has the following requirements:

  • PHP 7.3 or PHP 7.4 or PHP 8.0
  • One of the Image processing libraries:

Optional libraries

File system libraries:

Basic usage

$reimage = new Reimage();
$url = $reimage->createUrl('/my_image.jpg', [Reimage::WIDTH => 300, Reimage::HEIGHT => 200]);
//Result: $url = '/my_image_fpA63N.jpg?w=300&h=200&s=4L1CZi'

Documentation

Read the documentation for more information.

Licence

See the LICENSE file.