Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (10 sloc) 608 Bytes

Imagecache with Slim Framework Version 3

Composer

Add a dependency with this command : composer require onigoetz/imagecache

Creating a configuration

Create an array that follows the configuration from the model in The default configuration

After you created an application and prepared your configuration, add this one-liner in your configuration

Onigoetz\Imagecache\Support\Slim\ImagecacheRegister::register($slim_application, $preset_configuration);

you're now ready to use imagecache in your project