creolab/image

Manipulate images, create thumbs, crop...
663 9
Install
composer require creolab/image
PHP:>=5.3.0
Last Updated:Oct 15, 2014
Links: GitHub  ·  Packagist
Maintainer: bstrahija

Image

Resize, crop and cache images for Laravel 4. Framework agnostic coming soon.

Installation

Simply add the following to your composer.json file:

"creolab/image": "dev-master"

And you can also add the service provider to app/config/app.php:

'Creolab\Image\ImageServiceProvider',

And register the facade in the same file under aliases:

'Image' => 'Creolab\Image\ImageFacade',

Usage

You can use the library directly in your views like this:

<img src="{{ Image::resize('public/path/to/image.jpg', 640, 480) }}">

Also to generate square thumbs:

<img src="{{ Image::thumb('public/path/to/image.jpg', 80) }}">

Bitdeli Badge

Related Packages

reliqarts/laravel-guided-image

Simplified and ready image manipulation for Laravel via intervention image.

1,711 34
lostcause/image

Based on Creolab\Image. Manipulate images, create thumbs, crop...

68 3
amostajo/laravel-image-handler

Package provides laravel with Image Handler class, perfect to create thumbs, res...

1,287 5
spescina/timthumb

An image proxy for Laravel

6,049 5
bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

531,206 509