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

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

elendev/image-bundle
====================

Provide simple image utilities for resizing

1.1.11(7y ago)25771Apache2PHP

Since Sep 18Pushed 7y ago3 watchersCompare

[ Source](https://github.com/Elendev/ElendevImageBundle)[ Packagist](https://packagist.org/packages/elendev/image-bundle)[ Docs](http://blog.elendev.com)[ RSS](/packages/elendev-image-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (4)Versions (16)Used By (0)

ElendevImageBundle
==================

[](#elendevimagebundle)

Bundle configuration
--------------------

[](#bundle-configuration)

```
elendev_image:
    cache_dir: 'path_to_cache_directory'
	source_dir: 'path_to_image_dir'
	cache_url: 'url/to/cache/dir'

```

The `cache_dir` configuration key is the local path to the cache directory. It's the directory where the generated files will be stored (for example : `/var/www/my-website/media/cache`).

The `source_dir` configuration key is the local path to the directory containing the images (for example : `/var/www/my-website/media/original-files`).

The `cache_url` configuration key is the url to the cache directory. If the url `http://www.my-website.com` redirect to the local `/var/www/my-website` directory, the value of this configuration key would be `http://www.my-website.com/media/cache`.

Use Twig's extension image method
---------------------------------

[](#use-twigs-extension-image-method)

``

``

``

The available methods are those of the `Elendev\ElendevImageBundle\ImageProxy` class :

```
interface ImageProxy {

    ...

    public function resize($width, $height, $keepRatio = true, $allowEnlarge = false);

    /**
     * @param type $degree
     * @param type $bgcolor background color for visible parts, by default black
     */
    public function rotate($degree, $bgcolor = 0);

    /**
     * Do greyscale on picture
     */
    public function greyScale();

    ...

}

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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.

###  Release Activity

Cadence

Every ~156 days

Recently: every ~374 days

Total

15

Last Release

2801d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f3d01822621b80f6102d24f68e9a0ff2221d98a272ccd5c78c405d19621f475?d=identicon)[Elendev](/maintainers/Elendev)

---

Top Contributors

[![Elendev](https://avatars.githubusercontent.com/u/1331273?v=4)](https://github.com/Elendev "Elendev (19 commits)")[![krasnikova-lera](https://avatars.githubusercontent.com/u/2346049?v=4)](https://github.com/krasnikova-lera "krasnikova-lera (1 commits)")

---

Tags

imagetwig filter

### Embed Badge

![Health badge](/badges/elendev-image-bundle/health.svg)

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

###  Alternatives

[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M217](/packages/liip-imagine-bundle)[gregwar/image-bundle

Image handling bundle

1941.5M9](/packages/gregwar-image-bundle)[intervention/image-symfony

Symfony Integration of Intervention Image

1066.8k](/packages/intervention-image-symfony)

PHPackages © 2026

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