PHPackages                             rezozero/intervention-request-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rezozero/intervention-request-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

rezozero/intervention-request-bundle
====================================

Symfony bundle for using ambroisemaupate/intervention-request library

5.1.0(10mo ago)012.5k↓43.5%2mitPHPPHP &gt;=8.2

Since Mar 15Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/rezozero/intervention-request-bundle)[ Packagist](https://packagist.org/packages/rezozero/intervention-request-bundle)[ RSS](/packages/rezozero-intervention-request-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (18)Used By (2)

Intervention Request Bundle
===========================

[](#intervention-request-bundle)

[![Static analysis and code style](https://github.com/rezozero/intervention-request-bundle/actions/workflows/run-test.yml/badge.svg)](https://github.com/rezozero/intervention-request-bundle/actions/workflows/run-test.yml)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require rezozero/intervention-request-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    \RZ\InterventionRequestBundle\RZInterventionRequestBundle::class => ['all' => true],
];
```

Add the routing:

```
# app/config/routing.yml

# ...
rz_intervention_request:
    resource: "@RZInterventionRequestBundle/Resources/config/routing.yml"
    prefix:   /
```

### Step 3: configuration

[](#step-3-configuration)

```
# config/packages/rz_intervention_request.yaml
parameters:
    env(IR_DEFAULT_QUALITY): '90'
    env(IR_MAX_PIXEL_SIZE): '1920'
    ir_default_quality: '%env(int:IR_DEFAULT_QUALITY)%'
    ir_max_pixel_size: '%env(int:IR_MAX_PIXEL_SIZE)%'

rz_intervention_request:
    driver: 'gd'
    default_quality: '%ir_default_quality%'
    max_pixel_size: '%ir_max_pixel_size%'
    cache_path: "%kernel.project_dir%/public/assets"
    files_path: "%kernel.project_dir%/public/files"
    jpegoptim_path: /usr/bin/jpegoptim
    pngquant_path: /usr/bin/pngquant
    subscribers: []
```

Then add the following variables to your project `.env` file:

```
###> rezozero/intervention-request-bundle ###
IR_DEFAULT_QUALITY=90
IR_MAX_PIXEL_SIZE=2500
###< rezozero/intervention-request-bundle ###
```

### Use Flysystem file resolver

[](#use-flysystem-file-resolver)

Declare a [flysystem](https://github.com/thephpleague/flysystem-bundle) storage named `intervention_request.storage` and this bundle will automatically use it instead of the `LocalFileResolver`:

```
# Read the documentation at https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md
flysystem:
    storages:
        intervention_request.storage:
            adapter: 'local'
            options:
                directory: '%kernel.project_dir%/public/files'
```

#### Use a S3 storage

[](#use-a-s3-storage)

Requires `league/flysystem-async-aws-s3` then declare your `intervention_request.storage` using a S3 client:

```
services:
    s3_public_client:
        class: 'AsyncAws\S3\S3Client'
        arguments:
            -   endpoint: '%env(APP_S3_STORAGE_ENDPOINT)%'
                accessKeyId: '%env(APP_S3_STORAGE_ACCESS_KEY)%'
                accessKeySecret: '%env(APP_S3_STORAGE_SECRET_KEY)%'

flysystem:
    storages:
        intervention_request.storage:
            adapter: 'asyncaws'
            visibility: 'private'
            options:
                client: 'scaleway_public_client'
                bucket: '%env(APP_S3_STORAGE_BUCKET_ID)%'
                prefix: 'public-files'
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance55

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.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 ~191 days

Recently: every ~26 days

Total

15

Last Release

300d ago

Major Versions

1.1.0 → 2.0.02022-06-27

2.0.4 → 3.0.02023-02-10

3.0.1 → 4.0.02025-02-27

4.1.0 → 5.0.02025-05-27

PHP version history (4 changes)1.1.0PHP &gt;=7.2

2.0.0PHP &gt;=7.4

3.0.0PHP &gt;=8.0

4.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/380026?v=4)[Ambroise Maupate](/maintainers/ambroisemaupate)[@ambroisemaupate](https://github.com/ambroisemaupate)

---

Top Contributors

[![ambroisemaupate](https://avatars.githubusercontent.com/u/380026?v=4)](https://github.com/ambroisemaupate "ambroisemaupate (77 commits)")[![eliot488995568](https://avatars.githubusercontent.com/u/72140926?v=4)](https://github.com/eliot488995568 "eliot488995568 (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rezozero-intervention-request-bundle/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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