PHPackages                             tomcizek/symfony-interop-container - 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. tomcizek/symfony-interop-container

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tomcizek/symfony-interop-container
==================================

Symfony Interop Container which has config array under 'config' key - for Extensions using Interoperability Factories.

1.1.0(8y ago)11071MITPHPPHP ^7.1

Since Oct 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tomcizek/symfony-interop-container)[ Packagist](https://packagist.org/packages/tomcizek/symfony-interop-container)[ RSS](/packages/tomcizek-symfony-interop-container/feed)WikiDiscussions master Synced 2mo ago

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

tomcizek/symfony-interop-container
==================================

[](#tomcizeksymfony-interop-container)

[![Build Status](https://camo.githubusercontent.com/5209242699773feb58dafd1f6ef1fd659e7c3d1b16e4ec0ed6739484ad52fffa/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f6d63697a656b2f73796d666f6e792d696e7465726f702d636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tomcizek/symfony-interop-container)[![Quality Score](https://camo.githubusercontent.com/ae3b52f0993f402a2489b39febeab2a780304245db12507430d99e08e2c41b9e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f6d63697a656b2f73796d666f6e792d696e7465726f702d636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tomcizek/symfony-interop-container)[![Code Coverage](https://camo.githubusercontent.com/1aa98e4632b04ff0ab8174247964015c8e60597c30c3f249487456840772574a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f6d63697a656b2f73796d666f6e792d696e7465726f702d636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tomcizek/symfony-interop-container)

This bundle is handy when you want to create symfony vendor bundle that uses interoperability factories with [interop config](https://sandrokeil.github.io/interop-config/getting-started/overview.html#1-1).

Why bother?
-----------

[](#why-bother)

It registers 'interop\_container' service for you, which has same services as default 'service\_container', plus it returns app config array under key 'config'. This config is something you need to define in your extension.

Quick start
===========

[](#quick-start)

1) Install this library through composer
----------------------------------------

[](#1-install-this-library-through-composer)

`composer require tomcizek/symfony-interop-container`

2) Register SymfonyInteropContainerBundle in your kernel
--------------------------------------------------------

[](#2-register-symfonyinteropcontainerbundle-in-your-kernel)

3) Create your Bundle with Extension and register in kernel too, for example:
-----------------------------------------------------------------------------

[](#3-create-your-bundle-with-extension-and-register-in-kernel-too-for-example)

```
class TestExtension extends AbstractInteropExtension
{
	public function load(array $configs, ContainerBuilder $containerBuilder)
	{
		// parent call is mandatory, or it will not work as expected!
		parent::load($configs, $containerBuilder);

		// we can set another config key (default is extension alias: $this->getAlias())
		$this->configBuilder->setKey('test');

		// we can merge over another config
		$this->configBuilder->mergeOverByConfig([]);

		// we can merge over multiple configs
		$this->configBuilder->mergeOverByConfigs([[]]);

		// we can merge default config
		$this->configBuilder->mergeDefaultConfig([]);

		// if you want, you can build config by:
		$config = $this->configBuilder->build();

		// it will be built in process method and injected into interop_container service
	}

	public function process(ContainerBuilder $containerBuilder)
	{
		// If you need to redefine process method, parent call is mandatory.
		parent::process($containerBuilder);
	}
}
```

Contribute
----------

[](#contribute)

Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~0 days

Total

2

Last Release

3135d ago

PHP version history (2 changes)1.0.1PHP &gt;=7.0

1.1.0PHP ^7.1

### Community

Maintainers

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

---

Top Contributors

[![tomcizek](https://avatars.githubusercontent.com/u/7482237?v=4)](https://github.com/tomcizek "tomcizek (6 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tomcizek-symfony-interop-container/health.svg)

```
[![Health](https://phpackages.com/badges/tomcizek-symfony-interop-container/health.svg)](https://phpackages.com/packages/tomcizek-symfony-interop-container)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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