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

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

fkr/imagine-bundle
==================

Integrates Imagine into Symfony2

11171PHP

Since Aug 27Pushed 12y ago1 watchersCompare

[ Source](https://github.com/fkrauthan/FkrImagineBundle)[ Packagist](https://packagist.org/packages/fkr/imagine-bundle)[ RSS](/packages/fkr-imagine-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

FkrImagineBundle
================

[](#fkrimaginebundle)

Integrates [Imagine](https://github.com/avalanche123/Imagine) into Symfony2.

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

[](#installation)

Bring in the vendor libraries
-----------------------------

[](#bring-in-the-vendor-libraries)

This can be done in three different ways:

**Method #1**) Use composer

```
"require": {
    "fkr/imagine-bundle": "*"
}

```

**Method #2**) Use git submodules

```
git submodule add git://github.com/avalanche123/Imagine.git vendor/imagine
git submodule add git://github.com/fkrauthan/FkrImagineBundle.git vendor/bundles/Fkr/ImagineBundle

```

**Method #3**) Use deps file

```
[Imagine]
    git=git://github.com/avalanche123/Imagine.git
	target=imagine
	version=v0.2.8

[FkrImagineBundle]
    git=git://github.com/fkrauthan/FkrImagineBundle.git
	target=bundles/Fkr/ImagineBundle

```

Register the Imagine and Fkr namespaces
---------------------------------------

[](#register-the-imagine-and-fkr-namespaces)

```
// app/autoload.php
$loader->registerNamespaces(array(
    'Imagine' => __DIR__.'/../vendor/imagine/lib',
    'Fkr' => __DIR__.'/../vendor/bundles',
    // your other namespaces
));

```

Add SimplePieBundle to your application kernel
----------------------------------------------

[](#add-simplepiebundle-to-your-application-kernel)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Fkr\ImagineBundle\FkrImagineBundle(),
        // ...
    );
}

```

Configuration
=============

[](#configuration)

```
# app/config.yml
fkr_imagine:
    driver: gd

```

- driver: sets the driver which Imagine should use

**Allowed drivers:**

- gd (default) Use GD
- imagick Use IMagick
- gmagick Use GMagick

Usage
=====

[](#usage)

To get a driver specific Imagine class instance just use the following code

```
$this->get('fkr_imagine');

```

Thats all. For the complete api visit the [Imagine api doc](http://imagine.readthedocs.org/en/latest/index.html).

Licence
=======

[](#licence)

[Resources/meta/LICENSE](https://github.com/fkrauthan/FkrImagineBundle/blob/master/Resources/meta/LICENSE)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7e849fc0a7f371ae8821cef67a7388d34300f59bb2fb62fe3a2d6334c69a3d1?d=identicon)[fkrauthan](/maintainers/fkrauthan)

---

Top Contributors

[![fkrauthan](https://avatars.githubusercontent.com/u/1679841?v=4)](https://github.com/fkrauthan "fkrauthan (13 commits)")[![dphoyes](https://avatars.githubusercontent.com/u/592008?v=4)](https://github.com/dphoyes "dphoyes (1 commits)")

### Embed Badge

![Health badge](/badges/fkr-imagine-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fkr-imagine-bundle/health.svg)](https://phpackages.com/packages/fkr-imagine-bundle)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
