codeurs/imagehelper

This package is abandoned and no longer maintained. No replacement package was suggested.

A wrapper around the popular Intervention Image php library, for common image manipulations extended with caching.

Package info

github.com/codeurs/ImageHelper

pkg:composer/codeurs/imagehelper

Statistics

Installs: 240

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 2

0.0.1 2017-08-28 09:44 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT a37cfeeeec55ee20840a27d5d6c50f298a766f6c

  • Codeurs <info.woop@codeurs.be>

This package is not auto-updated.

Last update: 2022-12-24 19:08:13 UTC


README

A wrapper around the popular Intervention Image library for common image manipulations extended with caching.

Getting started

  • composer require codeurs/imagehelper

Code Examples

use Codeurs\ImageHelper;

// Set the cache folder location
ImageHelper::setCacheFolder('cache/images');

// Resize an image and return the cached file location
$src = ImageHelper::fromPath('assets/image.png')
 ->resize(320, 240)
 ->src();