PHPackages                             timitao/behat-symfony-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. [Testing &amp; Quality](/categories/testing)
4. /
5. timitao/behat-symfony-container

ActiveLibrary[Testing &amp; Quality](/categories/testing)

timitao/behat-symfony-container
===============================

Allows to declare own services inside Behat loaded by symfony service manager

v1.1(7y ago)01.5k1MITPHPPHP &gt;=5.6

Since Oct 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/timiTao/behat-symfony-container)[ Packagist](https://packagist.org/packages/timitao/behat-symfony-container)[ RSS](/packages/timitao-behat-symfony-container/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (5)Used By (1)

[![License](https://camo.githubusercontent.com/9b0cd27642c729252e1266b1c45d2f5b561ab03da5d91882c4ca83e569a232d6/68747470733a2f2f706f7365722e707567782e6f72672f74696d6974616f2f62656861742d73796d666f6e792d636f6e7461696e65722f6c6963656e73652e737667)](https://packagist.org/packages/timitao/behat-symfony-container)[![Latest Stable Version](https://camo.githubusercontent.com/22a0f857e769e571ca1a3a563ac3abd345ebe1549d9761eea45b24ed97366039/68747470733a2f2f706f7365722e707567782e6f72672f74696d6974616f2f62656861742d73796d666f6e792d636f6e7461696e65722f762f737461626c652e737667)](https://packagist.org/packages/timitao/behat-symfony-container)

Behat Symfony Extension
=======================

[](#behat-symfony-extension)

This extension provide isolated symfony container from Behat.

This extension borrow a lot from [extension](https://github.com/FriendsOfBehat/ServiceContainerExtension), but:

- don't force minimal PHP version to 7.1,
- have isolated container.

Configuration
=============

[](#configuration)

1. Install it:

    ```
    $ composer require timitao/behat-symfony-container --dev
    ```
2. To enable this extension and load container:

    ```
    # behat.yml
    default:
        suites:
            default:
                services: "@timitao_behat_symfony_container.container"
        extensions:
            TimiTao\BehatSymfonyContainer\ServiceContainer\Extension:
                configs:
                    - "PATH_TO_FILE"
                    - "PATH_TO_FILE"
                    - "PATH_TO_FILE"
    ```
3. Write services files definitions, that are [generally accepted by Symfony](https://symfony.com/doc/current/components/dependency_injection.html) with format `yml`, `xml` or `PHP`. [Check out examples](https://github.com/timiTao/behat-symfony-container/blob/master/features/import.feature)

Versioning
----------

[](#versioning)

Staring version `1.0.0`, will follow [Semantic Versioning v2.0.0](http://semver.org/spec/v2.0.0.html).

Contributors
------------

[](#contributors)

- Tomasz Kunicki [TimiTao](http://github.com/timiTao) \[lead developer\]

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~86 days

Total

4

Last Release

2855d ago

### Community

Maintainers

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

---

Top Contributors

[![timiTao](https://avatars.githubusercontent.com/u/6087694?v=4)](https://github.com/timiTao "timiTao (6 commits)")

---

Tags

behatbehat-extensiondependency-injectionphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/timitao-behat-symfony-container/health.svg)

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

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[drupal/drupal-extension

Drupal extension for Behat

22215.1M147](/packages/drupal-drupal-extension)[friends-of-behat/variadic-extension

Variadic support for behat context arguments

2286.0M446](/packages/friends-of-behat-variadic-extension)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M775](/packages/typo3-testing-framework)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[roave/behat-psr11extension

PSR-11 Container extension for Behat

41345.5k2](/packages/roave-behat-psr11extension)

PHPackages © 2026

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