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

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

bytes-commerce/behat-symfony-extension
======================================

Integrates Behat with Symfony.

8.0.4(2w ago)010MITGherkinPHP ^8.1

Since Nov 3Pushed 2w agoCompare

[ Source](https://github.com/bytes-commerce/behat-symfony-extension)[ Packagist](https://packagist.org/packages/bytes-commerce/behat-symfony-extension)[ RSS](/packages/bytes-commerce-behat-symfony-extension/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (15)Versions (58)Used By (0)

 [![](https://avatars2.githubusercontent.com/u/20600343)](https://avatars2.githubusercontent.com/u/20600343)

SymfonyExtension
================

[](#symfonyextension)

> **Notice**: This package has been adapted for PHP 8.4 and Symfony 8 compatibility. The adapted package is now available as [`bytes-commerce/behat-symfony-extension`](https://github.com/bytes-commerce/behat-symfony-extension).
>
> This adaptation has been made possible due to the work of the construction software [www.digiconstruct.de](https://www.digiconstruct.de).

You can get this bundle for your project:

```
composer require bytes-commerce/behat-symfony-extension
```

This Behat extension provides an integration with Symfony (`^6.0` through `^8.0`) and Mink driver for Symfony application.

It allows for:

- defining your contexts as regular Symfony services
- autowiring and autoconfiguring your contexts
- testing your Symfony application without having to set up a server

Documentation
-------------

[](#documentation)

- [Installation](DOCUMENTATION.md#installation)
- [Usage](DOCUMENTATION.md#usage)
- [Mink integration](DOCUMENTATION.md#mink-integration)
- [Behat/Symfony2Extension differences](DOCUMENTATION.md#differences-from-behatsymfony2extension)
- [Configuration reference](DOCUMENTATION.md#configuration-reference)

For a bit of backstory, take a look at the [SymfonyExtension v2.0.0 release blogpost](https://kamilkokot.com/tame-behat-with-the-brand-new-symfony-extension).

Versioning and release cycle
----------------------------

[](#versioning-and-release-cycle)

This package follows [semantic versioning](https://semver.org/).

Public API is defined as configuration and behaviour defined in form of testable scenarios in the [`features`](features) directory. This means once your application is configured to use Behat with SymfonyExtension, it shall continue to work flawlessly within the same major version.

Next major releases are not planned yet. Minor and patch releases will be published as needed.

Bug fixes will be provided only for the most recent minor release. Security fixes will be provided for one year since the release of subsequent minor release.

Example (with arbitrary dates):

- `v1.0.0` is released on *23.11.2019*
- `v1.0.1` with a bugfix is provided on *03.02.2020*
- `v1.1.0` is released on *15.02.2020*:
    - `1.0` branch will not get bugfixes anymore
    - `1.0` security support will end on *15.02.2021*

License
-------

[](#license)

This extension is completely free and released under permissive [MIT license](LICENSE).

Authors
-------

[](#authors)

It is originally created by [Kamil Kokot](https://github.com/pamil). See the list of [all contributors](https://github.com/FriendsOfBehat/SymfonyExtension/graphs/contributors).

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance96

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 74.8% 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 ~65 days

Recently: every ~0 days

Total

54

Last Release

19d ago

Major Versions

v0.2.1 → v1.0.02017-07-10

1.4.x-dev → v2.0.0-beta.12019-01-10

v2.6.2 → 8.02026-05-21

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

v1.0.0PHP ^7.1

v2.2.0PHP ^7.3 || ^8.0

v2.3.0PHP ^7.4 || ^8.0

v2.5.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ecc09b9aec2e66ff72e4e7f5565a150845eb4a47935ecfdeb81725cd392be60?d=identicon)[bytes-commerce](/maintainers/bytes-commerce)

---

Top Contributors

[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (299 commits)")[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (29 commits)")[![lchrusciel](https://avatars.githubusercontent.com/u/6213903?v=4)](https://github.com/lchrusciel "lchrusciel (13 commits)")[![mpdude](https://avatars.githubusercontent.com/u/1202333?v=4)](https://github.com/mpdude "mpdude (10 commits)")[![bytes-max](https://avatars.githubusercontent.com/u/6654389?v=4)](https://github.com/bytes-max "bytes-max (9 commits)")[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (5 commits)")[![adiq](https://avatars.githubusercontent.com/u/2352677?v=4)](https://github.com/adiq "adiq (5 commits)")[![Zales0123](https://avatars.githubusercontent.com/u/6212718?v=4)](https://github.com/Zales0123 "Zales0123 (3 commits)")[![arnolanglade](https://avatars.githubusercontent.com/u/3585922?v=4)](https://github.com/arnolanglade "arnolanglade (3 commits)")[![loic425](https://avatars.githubusercontent.com/u/8329789?v=4)](https://github.com/loic425 "loic425 (3 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (3 commits)")[![DonCallisto](https://avatars.githubusercontent.com/u/7060632?v=4)](https://github.com/DonCallisto "DonCallisto (2 commits)")[![alanpoulain](https://avatars.githubusercontent.com/u/10920253?v=4)](https://github.com/alanpoulain "alanpoulain (2 commits)")[![alexisLefebvre](https://avatars.githubusercontent.com/u/2071331?v=4)](https://github.com/alexisLefebvre "alexisLefebvre (1 commits)")[![bartoszpietrzak1994](https://avatars.githubusercontent.com/u/22262296?v=4)](https://github.com/bartoszpietrzak1994 "bartoszpietrzak1994 (1 commits)")[![andy-educake](https://avatars.githubusercontent.com/u/57622391?v=4)](https://github.com/andy-educake "andy-educake (1 commits)")[![Persata](https://avatars.githubusercontent.com/u/1608834?v=4)](https://github.com/Persata "Persata (1 commits)")[![relthyg](https://avatars.githubusercontent.com/u/8628559?v=4)](https://github.com/relthyg "relthyg (1 commits)")[![rogamoore](https://avatars.githubusercontent.com/u/5249624?v=4)](https://github.com/rogamoore "rogamoore (1 commits)")[![soyuka](https://avatars.githubusercontent.com/u/1321971?v=4)](https://github.com/soyuka "soyuka (1 commits)")

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bytes-commerce-behat-symfony-extension/health.svg)

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

PHPackages © 2026

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