PHPackages                             ashleydawson/glide-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. [HTTP &amp; Networking](/categories/http)
4. /
5. ashleydawson/glide-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

ashleydawson/glide-bundle
=========================

Glide image processing in a Symfony2 project

5.0.0(6y ago)622.5k4[1 PRs](https://github.com/AshleyDawson/GlideBundle/pulls)MITPHPPHP &gt;=5.4

Since May 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AshleyDawson/GlideBundle)[ Packagist](https://packagist.org/packages/ashleydawson/glide-bundle)[ RSS](/packages/ashleydawson-glide-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (5)Versions (11)Used By (0)

Glide Bundle
============

[](#glide-bundle)

[![Build Status](https://camo.githubusercontent.com/c88058019c2cd46a8eeb9ed9c72b451d51bb85c5695f007f3f4f70d65d332a70/68747470733a2f2f7472617669732d63692e6f72672f4173686c6579446177736f6e2f476c69646542756e646c652e737667)](https://travis-ci.org/AshleyDawson/GlideBundle)

Add [Glide](http://glide.thephpleague.com/) HTTP image processing library to Symfony 2 projects.

Introduction
------------

[](#introduction)

[Glide](http://glide.thephpleague.com/) is an image processing/manipulation/cache for images. It's particularly handy for modifying and storing images on [Flysystem](https://github.com/thephpleague/flysystem) filesystems. It leverages the [Intervention](http://image.intervention.io/) image manager to do the heavy lifting. The image API is exposed via an HTTP interface allowing you to embed images within your application. For example:

```

```

For more information and a better explanation, please read the [official Glide docs](http://glide.thephpleague.com/).

This bundle incorporates all aspects of the Glide library within the Symfony 2 service container - adding features and helpers relative to working with the Glide library within Symfony 2 projects.

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

[](#installation)

You can install the Glide Bundle via Composer. To do that, simply require the package in your composer.json file like so:

```
{
    "require": {
        "ashleydawson/glide-bundle": "~1.0"
    }
}
```

Run composer update to install the package. Then you'll need to register the bundle in your `app/AppKernel.php`:

```
$bundles = array(
    // ...
    new AshleyDawson\GlideBundle\AshleyDawsonGlideBundle(),
);
```

Basic Usage
-----------

[](#basic-usage)

The most simple example is actually using the glide server to process an image within a controller.

```
