PHPackages                             socloz/imagine-bundle - 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. socloz/imagine-bundle

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

socloz/imagine-bundle
=====================

Image manipulation using Imagine and Twig Filters.

v2.1.2(13y ago)029.0kMITPHP

Since Nov 15Pushed 12y ago10 watchersCompare

[ Source](https://github.com/SoCloz/AvalancheImagineBundle)[ Packagist](https://packagist.org/packages/socloz/imagine-bundle)[ Docs](https://github.com/avalanche123/AvalancheImagineBundle)[ RSS](/packages/socloz-imagine-bundle/feed)WikiDiscussions socloz Synced 1w ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

AvalancheImagineBundle
======================

[](#avalancheimaginebundle)

This bundle provides easy image manipulation support for Symfony2. For example, with this bundle, the following is possible:

```

```

This will perform the transformation called `thumbnail`, which you can define to do a number of different things, such as resizing, cropping, drawing, masking, etc.

This bundle integrates the standalone PHP "[Imagine library](/avalanche123/Imagine)".

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

[](#installation)

Installation is a quick 3 step process:

1. Download AvalancheImagineBundle using composer
2. Enable the Bundle
3. Configure your application's config.yml

### Step 1: Download AvalancheImagineBundle using composer

[](#step-1-download-avalancheimaginebundle-using-composer)

Add AvalancheImagineBundle in your composer.json:

```
{
    "require": {
        "avalanche123/imagine-bundle": "v2.1"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update avalanche123/imagine-bundle
```

Composer will install the bundle to your project's `vendor/avalanche123/imagine-bundle` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
