PHPackages                             rik43/imagecache - 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. rik43/imagecache

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

rik43/imagecache
================

Laravel package for generating thumbnails of images and caching them in your public files folder.

3.0.12(7y ago)117MITPHPPHP &gt;=5.4.0

Since Nov 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rik43/imagecache)[ Packagist](https://packagist.org/packages/rik43/imagecache)[ RSS](/packages/rik43-imagecache/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (31)Used By (0)

[![Laravel](https://camo.githubusercontent.com/e90e164c5687bb6ebfc16f3a5d856441e96acf66f502df3895ef47aa852c0c72/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d342e302d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Laravel](https://camo.githubusercontent.com/fefa73cbcb138f313755edeb816d67030c8ca82a24371d2c30c4605f1a1d6b86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e302d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)

Imagecache
==========

[](#imagecache)

Laravel 5 package that allows you to create image thumbnails according to predefined presets, and store them in your Laravel public folder to serve them up without generating them on each page load.

Original repo:  + added watermarks

Installation
------------

[](#installation)

Using Composer, edit your `composer.json` file to require `rik43/imagecache`.

##### Laravel 5

[](#laravel-5)

```
"require": {
	"rik43/imagecache": "3.0.*"
}

```

Then from the terminal run

```
composer update

```

Then in your `app/config/app.php` file register the following service providers:

```
'Intervention\Image\ImageServiceProvider',
'Devfactory\Imagecache\ImagecacheServiceProvider',
```

And the Facade:

```
'Imagecache'      => 'Devfactory\Imagecache\Facades\ImagecacheFacade',
```

Publish the config:

##### Laravel 5

[](#laravel--5)

```
php artisan vendor:publish

```

Usage
-----

[](#usage)

Define some presets in:

##### Laravel 5

[](#laravel--5-1)

`config/imagecache.presets.php`

```
