PHPackages                             friends-of-behat/cross-container-extension - 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. friends-of-behat/cross-container-extension

Abandoned → [friends-of-behat/symfony-extension](/?search=friends-of-behat%2Fsymfony-extension)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

friends-of-behat/cross-container-extension
==========================================

Makes possible to inject services and parameters from other containers.

v1.1.0(8y ago)98535.9k↑1200%520MITPHPPHP ^7.1

Since Nov 2Pushed 7y ago3 watchersCompare

[ Source](https://github.com/FriendsOfBehat/CrossContainerExtension)[ Packagist](https://packagist.org/packages/friends-of-behat/cross-container-extension)[ RSS](/packages/friends-of-behat-cross-container-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (6)Versions (12)Used By (20)

Cross Container Extension [![License](https://camo.githubusercontent.com/4f1c23c1870ab6bcd16fe57ba37c7706ab6678592efe463f4afdc52e0bb8104b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f667269656e64732d6f662d62656861742f63726f73732d636f6e7461696e65722d657874656e73696f6e2e737667)](https://packagist.org/packages/friends-of-behat/cross-container-extension) [![Version](https://camo.githubusercontent.com/82fda5beace8261cdb1d0fc5bb9def28f5fb61ab7efb56a5bd1960f7a2e4100d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269656e64732d6f662d62656861742f63726f73732d636f6e7461696e65722d657874656e73696f6e2e737667)](https://packagist.org/packages/friends-of-behat/cross-container-extension) [![Build status on Linux](https://camo.githubusercontent.com/4d4619b982f069e0151043c4b9a6bac386623b3692ae6ffb4cc2c01fe291657f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f467269656e64734f6642656861742f43726f7373436f6e7461696e6572457874656e73696f6e2f6d61737465722e737667)](http://travis-ci.org/FriendsOfBehat/CrossContainerExtension) [![Scrutinizer Quality Score](https://camo.githubusercontent.com/a7b791679c253b319c9814a584179ce252d22bc0b3e5bfea64fbf32eed8973c6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f467269656e64734f6642656861742f43726f7373436f6e7461696e6572457874656e73696f6e2e737667)](https://scrutinizer-ci.com/g/FriendsOfBehat/CrossContainerExtension/)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#cross-container-extension----)

Makes possible to inject services and parameters from other containers.

#### This library is deprecated! It will not be supported anymore - if you're using it with ContextServiceExtension v1 and SymfonyExtension v1, please consider an upgrade to [SymfonyExtension v2](https://github.com/FriendsOfBehat/SymfonyExtension).

[](#this-library-is-deprecated-it-will-not-be-supported-anymore---if-youre-using-it-with-contextserviceextension-v1-and-symfonyextension-v1-please-consider-an-upgrade-to-symfonyextension-v2)

Usage
-----

[](#usage)

1. Install it:

    ```
    $ composer require friends-of-behat/cross-container-extension --dev
    ```
2. Enable this extension and configure Behat to use it:

    ```
    # behat.yml
    default:
        # ...
        extensions:
            FriendsOfBehat\CrossContainerExtension: ~
    ```
3. Use it together with [FriendsOfBehat\\ContextServiceExtension](https://github.com/FriendsOfBehat/ContextServiceExtension) or [FriendsOfBehat\\ServiceContainerExtension](https://github.com/FriendsOfBehat/ServiceContainerExtension).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 86.4% 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 ~47 days

Recently: every ~90 days

Total

11

Last Release

3010d ago

Major Versions

v0.3.0 → v1.0.02017-07-10

PHP version history (2 changes)v0.1.0PHP ^5.6|^7.0

v1.0.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/75c5d927b0434111db9720dd78af8c83385cf28bb9aeafd031ba8cb0c4ffc558?d=identicon)[Stof](/maintainers/Stof)

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

---

Top Contributors

[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (51 commits)")[![Kocal](https://avatars.githubusercontent.com/u/2103975?v=4)](https://github.com/Kocal "Kocal (3 commits)")[![angelov](https://avatars.githubusercontent.com/u/138429?v=4)](https://github.com/angelov "angelov (1 commits)")[![notFloran](https://avatars.githubusercontent.com/u/523981?v=4)](https://github.com/notFloran "notFloran (1 commits)")[![Zales0123](https://avatars.githubusercontent.com/u/6212718?v=4)](https://github.com/Zales0123 "Zales0123 (1 commits)")[![lchrusciel](https://avatars.githubusercontent.com/u/6213903?v=4)](https://github.com/lchrusciel "lchrusciel (1 commits)")[![Kibsoon](https://avatars.githubusercontent.com/u/7101736?v=4)](https://github.com/Kibsoon "Kibsoon (1 commits)")

---

Tags

behatbehat-extensionphpsymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/friends-of-behat-cross-container-extension/health.svg)

```
[![Health](https://phpackages.com/badges/friends-of-behat-cross-container-extension/health.svg)](https://phpackages.com/packages/friends-of-behat-cross-container-extension)
```

###  Alternatives

[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[symfony/ux-cropperjs

Cropper.js integration for Symfony

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

Native notification integration for Symfony

1274.7k](/packages/symfony-ux-notify)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)

PHPackages © 2026

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