Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
/ ImageHelper Public archive

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

Notifications You must be signed in to change notification settings

codeurs/ImageHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageHelper

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();

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages