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

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

intervention/image-symfony
==========================

Symfony Integration of Intervention Image

1.3.1(5mo ago)1066.8k—6.4%2MITPHPPHP ^8.1

Since Apr 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Intervention/image-symfony)[ Packagist](https://packagist.org/packages/intervention/image-symfony)[ Docs](https://image.intervention.io)[ Fund](https://paypal.me/interventionio)[ GitHub Sponsors](https://github.com/Intervention)[ RSS](/packages/intervention-image-symfony/feed)WikiDiscussions develop Synced 1mo ago

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

Intervention Image Symfony
==========================

[](#intervention-image-symfony)

Symfony Integration for Intervention Image
------------------------------------------

[](#symfony-integration-for-intervention-image)

[![Latest Version](https://camo.githubusercontent.com/aae929811c49f27f443db7d97e5f922cc30b402774c6a318965bd1d518efd5ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e74657276656e74696f6e2f696d6167652d73796d666f6e792e737667)](https://packagist.org/packages/intervention/image-symfony)[![Monthly Downloads](https://camo.githubusercontent.com/0942f4adca491d1cb4a6277e22267f4c0289ba07b3cca3f28a2b0039a5324fd6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f696e74657276656e74696f6e2f696d6167652d73796d666f6e792e737667)](https://packagist.org/packages/intervention/image-symfony/stats)[![Support me on Ko-fi](https://raw.githubusercontent.com/Intervention/image-symfony/main/.github/images/support.svg)](https://ko-fi.com/interventionphp)

This package provides an integration to setup [Intervention Image](https://image.intervention.io) easily to your [Symfony](https://symfony.com) framework application. Although the use of this integration library is not absolutely necessary, it offers a convenient way of central configuration in the Symfony framework.

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

[](#requirements)

- Symfony &gt;= 6.4

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

[](#installation)

In your existing Symfony application you can install this package using [Composer](https://getcomposer.org).

```
composer require intervention/image-symfony
```

After successful installation, you can activate the bundle in the file `config/bundes.php` of your application by inserting the following line into the array.

```
return [
    // ...
    Intervention\Image\Symfony\InterventionImageBundle::class => ['all' => true],
];
```

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

[](#configuration)

By default, the bundle is configured to use the GD library with Intervention Image. However, the package also offers other drivers. This and other options of the library can be easily configured by creating a file `config/packages/intervention_image.yaml` and setting the driver class as follows.

```
intervention_image:
  driver: Intervention\Image\Drivers\Imagick\Driver
  options:
    autoOrientation: true
    decodeAnimation: true
    backgroundColor: 'ffffff'
    strip: false
```

You can choose between the drivers `Intervention\Image\Drivers\Gd\Driver` and `Intervention\Image\Drivers\Imagick\Driver` for example.

You can read more about the different options for [auto orientation](https://image.intervention.io/v4/basics/configuration-drivers#configuration-options), [decoding animations](https://image.intervention.io/v4/basics/configuration-drivers#configuration-options) and [blending color](https://image.intervention.io/v4/basics/configuration-drivers#configuration-options).

Getting Started
---------------

[](#getting-started)

The integration is now complete and it is possible to access the [ImageManager](https://image.intervention.io/v4/basics/instantiation)via dependency injection.

```
namespace App\Controller;

use Intervention\Image\Interfaces\ImageManagerInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;

class ExampleController extends AbstractController
{
    #[Route('/')]
    public function example(ImageManagerInterface $manager): Response
    {
        $image = $manager->decode('images/example.jpg');
    }
}
```

Read the [official documentation of Intervention Image](https://image.intervention.io) for more information.

Authors
-------

[](#authors)

This library is developed and maintained by [Oliver Vogel](https://intervention.io)

Thanks to the community of [contributors](https://github.com/Intervention/image-symfony/graphs/contributors) who have helped to improve this project.

License
-------

[](#license)

Intervention Image Symfony is licensed under the [MIT License](LICENSE).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance82

Actively maintained with recent releases

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.3% 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 ~87 days

Recently: every ~144 days

Total

8

Last Release

161d ago

Major Versions

0.0.1 → 1.0.02024-04-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d172b42b2c5b53e71e56589fed3fb3467234a1c266d31b697b1d7b451f4cfe8?d=identicon)[olivervogel](/maintainers/olivervogel)

---

Top Contributors

[![olivervogel](https://avatars.githubusercontent.com/u/884642?v=4)](https://github.com/olivervogel "olivervogel (21 commits)")[![hhamon](https://avatars.githubusercontent.com/u/235550?v=4)](https://github.com/hhamon "hhamon (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

gdimageimagickinterventionphpsymfonysymfonythumbnailimagegdimagickresizewatermark

### Embed Badge

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

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

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[coldume/imagecraft

A reliable and extensible PHP image manipulation library

10133.7k2](/packages/coldume-imagecraft)

PHPackages © 2026

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