PHPackages                             arielcr/image-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. arielcr/image-cache

ActiveLibrary[Image &amp; Media](/categories/media)

arielcr/image-cache
===================

A Simple Image Cache Class

124PHP

Since Nov 8Pushed 12y ago1 watchersCompare

[ Source](https://github.com/arielcr/image-cache)[ Packagist](https://packagist.org/packages/arielcr/image-cache)[ RSS](/packages/arielcr-image-cache/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

\#Image Cache Class [![Build Status](https://camo.githubusercontent.com/94a954296387e49deccb25ac9d29fa018c160c655691d265ad5dccc8f69efee1/68747470733a2f2f7472617669732d63692e6f72672f617269656c63722f696d6167652d63616368652e706e67)](https://travis-ci.org/arielcr/image-cache)

\##Introduction Simple class to save external images to a cache folder. It also has the ability to resize proportionally to a width.

\##Installation

#### Composer

[](#composer)

This class is PSR-0 compliant and can be installed using [composer](http://getcomposer.org/). Simply add `arielcr/image-cache` to your composer.json file. *Composer is the sane alternative to PEAR. It is excellent for managing dependancies in larger projects*.

```
{
    "require": {
        "arielcr/image-cache": "dev-master"
    }
}

```

\##Usage Usage is pretty straightforward. Simply call the function on the image src you want to cache.

```
