PHPackages                             xabbuh/di-configuration-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. xabbuh/di-configuration-bundle

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

xabbuh/di-configuration-bundle
==============================

Override Symfony service definition configuration with ease

v0.1.0(11y ago)113MITPHPPHP &gt;=5.3

Since May 3Pushed 11y ago1 watchersCompare

[ Source](https://github.com/xabbuh/DIConfigurationBundle)[ Packagist](https://packagist.org/packages/xabbuh/di-configuration-bundle)[ Docs](https://github.com/xabbuh/DIConfigurationBundle)[ RSS](/packages/xabbuh-di-configuration-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Symfony Dependency Injection Configuration Bundle
=================================================

[](#symfony-dependency-injection-configuration-bundle)

This bundle makes it possible to easily customise existing service definitions defined in third-party bundles.

**Note: Many bundles offer their own configuration options to customise how their services are configured. Please refer to their documentation first for available configuration options before using this bundle.**

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

[](#installation)

Use [Composer](https://getcomposer.org/) to install the bundle:

```
$ composer require xabbuh/di-configuration-bundle
```

Then, enable it in your application:

```
// app/AppKernel.php
// ...

public function registerBundles()
{
    $bundles = array(
        // ...
        new Xabbuh\DiConfigurationBundle\XabbuhDiConfigurationBundle(),
    );

    // ...

    return $bundles;
}
```

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

[](#configuration)

**Note**: You can only change the configuration of existing services. The bundle is not meant to be used to configure new services. If you want to add your own services use [the built-in Symfony configuration mechanisms](https://symfony.com/doc/current/book/service_container.html).

### Customize Service Definitions

[](#customize-service-definitions)

Change the class name of a service:

```
xabbuh_di_configuration:
    logger:
        class: app.logger
```

If you do not want to configure any other options of a particular service, you can omit the `class` key:

```
xabbuh_di_configuration:
    monolog.logger: app.logger
```

You can replace existing arguments using the `arguments` key. A reference to another service needs to be the service id prefixed with the `@` character:

```
xabbuh_di_configuration:
    locale_listener:
        arguments:
            - de
            - @app.router
```

You can use the `index` key for an argument if you do not want to replace all arguments, but want to skip some of them. The following example only replaces the first and the third argument of the `locale_listener` service, but leaves the second argument as is:

```
xabbuh_di_configuration:
    locale_listener:
        arguments:
            - de
            - index: 2
              value: @app.request_stack
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

4034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b74867326e578e8780a90dc43a17edd9c32aab4e11940288afdbe87b7959ad06?d=identicon)[xabbuh](/maintainers/xabbuh)

---

Top Contributors

[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (2 commits)")

---

Tags

symfonyconfigurationdependency-injectiondiservice containercustomizationcustomisation

### Embed Badge

![Health badge](/badges/xabbuh-di-configuration-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/xabbuh-di-configuration-bundle/health.svg)](https://phpackages.com/packages/xabbuh-di-configuration-bundle)
```

###  Alternatives

[pentatrion/vite-bundle

Vite integration for your Symfony app

2755.3M13](/packages/pentatrion-vite-bundle)[pugx/autocompleter-bundle

Add an autocomplete type to forms

93861.6k3](/packages/pugx-autocompleter-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[sineflow/clamav

ClamAV PHP Client for Symfony

10168.5k](/packages/sineflow-clamav)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)

PHPackages © 2026

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