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

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

mael/intervention-image-bundle
==============================

Simple intervention/image integration for symfony projects

1.0.1(6y ago)13.1kMITPHPPHP ^7.1

Since May 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Mael-91/InterventionImageBundle)[ Packagist](https://packagist.org/packages/mael/intervention-image-bundle)[ Docs](https://github.com/Mael-91)[ RSS](/packages/mael-intervention-image-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

InterventionImageBundle
=======================

[](#interventionimagebundle)

[![Build Status](https://camo.githubusercontent.com/8be276e8ce340c810dcb5e1326d3ea4af6c87b999f6df9cce1547b6d9cc81126/68747470733a2f2f7472617669732d63692e636f6d2f4d61656c2d39312f496e74657276656e74696f6e496d61676542756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Mael-91/InterventionImageBundle)[![BCH compliance](https://camo.githubusercontent.com/c9c7ae9e838a521aa6587354b8b93ee40e3cadc88ce439262496cad104785f85/68747470733a2f2f626574746572636f64656875622e636f6d2f656467652f62616467652f4d61656c2d39312f496e74657276656e74696f6e496d61676542756e646c653f6272616e63683d6d6173746572)](https://bettercodehub.com/)

Simple integration for use [intervention/image](https://github.com/Intervention/image) in Symfony project

Requirements
------------

[](#requirements)

- PHP 7.1
- Symfony &gt;= 4.4
- [FileInfo Extension](https://www.php.net/manual/fr/book.fileinfo.php)
- GD Library (&gt;= 2.0) **or** Imagick PHP Extension (&gt;= 6.5.7)

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

[](#installation)

Run this command in your terminal :

```
composer require mael/intervention-image-bundle
```

Answer **yes** for `mael/intervention-image-bundle`

Configuration
-------------

[](#configuration)

Register the bundle in your `config/bundles.php`

```
Mael\InterventionImageBundle\MaelInterventionImageBundle::class => ['all' => true]
```

You can chose the driver for image manipulation in `config/packages/mael_intervention_image.yaml`

```
mael_intervention_image:
    driver: gd ## GD or imagick; Default is GD
```

Usage
-----

[](#usage)

```
use \Mael\InterventionImageBundle\MaelInterventionImageManager;

class Foo {
    public function makeImage(MaelInterventionImageManager $imageManager)
    {
        $newImage = $imageManager->make('public/uploads/bar.jpg')->resize(1200, 500);
    }
}
```

> ***attention, your directory must have permission to write a file***

Refer to the [intervention/image](http://image.intervention.io/) documentation to know the different options available to manipulate the images.

License
-------

[](#license)

This bundle is under [MIT license](https://github.com/Mael-91/InterventionImageBundle/blob/master/LICENSE)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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 ~23 days

Total

2

Last Release

2217d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29598048?v=4)[Mael](/maintainers/Mael-91)[@Mael-91](https://github.com/Mael-91)

---

Tags

symfonythumbnailimagegdimagickimage manipulationwatermarkintervention

### Embed Badge

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

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

PHPackages © 2026

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