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

4.0.0(3mo ago)1097.0k↓38.3%3MITPHPPHP ^8.3

Since Apr 4Pushed 3w 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 2d ago

READMEChangelog (4)Dependencies (4)Versions (12)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/bundles.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

55

—

FairBetter than 97% of packages

Maintenance89

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~80 days

Recently: every ~109 days

Total

10

Last Release

96d ago

Major Versions

0.0.1 → 1.0.02024-04-04

1.3.x-dev → 4.0.02026-03-29

PHP version history (2 changes)0.0.1PHP ^8.1

4.0.0PHP ^8.3

### 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)")[![jennevdmeer](https://avatars.githubusercontent.com/u/310006?v=4)](https://github.com/jennevdmeer "jennevdmeer (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.3k208.9M2.6k](/packages/intervention-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M181](/packages/intervention-image-laravel)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

275248.8k5](/packages/folklore-image)

PHPackages © 2026

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