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 2w ago

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 57% 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

2904d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6087694?v=4)[Tomasz Kunicki](/maintainers/timiTao)[@timiTao](https://github.com/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.0k100.2M2.1k](/packages/behat-behat)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.3M979](/packages/phpro-grumphp)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)[drupal/drupal-extension

Drupal extension for Behat

21115.5M166](/packages/drupal-drupal-extension)[friends-of-behat/variadic-extension

Variadic support for behat context arguments

2276.3M491](/packages/friends-of-behat-variadic-extension)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.0M131](/packages/wp-cli-wp-cli-tests)

PHPackages © 2026

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