PHPackages                             sentence/image-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. sentence/image-bundle

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

sentence/image-bundle
=====================

Image handling bundle

v2.3.0(8y ago)037MITPHPPHP &gt;=5.3.3

Since Apr 9Pushed 8y agoCompare

[ Source](https://github.com/Sentence/ImageBundle)[ Packagist](https://packagist.org/packages/sentence/image-bundle)[ Docs](https://github.com/Sentence/ImageBundle)[ RSS](/packages/sentence-image-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (29)Used By (0)

Gregwar's ImageBundle
=====================

[](#gregwars-imagebundle)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YUXRLWHQSWS6L)

`GregwarImageBundle` provides easy Image manipulation and API for Symfony2 and Twig

Installation
============

[](#installation)

### Step 1: Download the GregwarImageBundle

[](#step-1-download-the-gregwarimagebundle)

***Using the vendors script***

Add the following lines to your `deps` file:

```
    [GregwarImageBundle]
        git=http://github.com/Gregwar/ImageBundle.git
        target=/bundles/Gregwar/ImageBundle

```

Now, run the vendors script to download the bundle:

```
$ php bin/vendors install
```

***Using submodules***

If you prefer instead to use git submodules, then run the following:

```
$ git submodule add git://github.com/Gregwar/ImageBundle.git vendor/bundles/Gregwar/ImageBundle
$ git submodule update --init
```

***Using Composer***

Add the following to the "require" section of your `composer.json` file:

```
    "gregwar/image-bundle": "dev-master"

```

You can also choose a version number, (tag, commit ...)

And update your dependencies

```
    php composer.phar update

```

### Step 2: Configure the Autoloader

[](#step-2-configure-the-autoloader)

If you use composer, you can skip this step.

Add it to your `autoload.pp` :

```
