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

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

friends-of-behat/symfony-extension
==================================

Integrates Behat with Symfony.

v2.6.2(1y ago)48125.0M↓28.3%75[24 issues](https://github.com/FriendsOfBehat/SymfonyExtension/issues)[7 PRs](https://github.com/FriendsOfBehat/SymfonyExtension/pulls)20MITGherkinPHP ^8.1CI passing

Since Nov 3Pushed 3w ago8 watchersCompare

[ Source](https://github.com/FriendsOfBehat/SymfonyExtension)[ Packagist](https://packagist.org/packages/friends-of-behat/symfony-extension)[ RSS](/packages/friends-of-behat-symfony-extension/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (15)Versions (56)Used By (20)

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

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

[](#symfonyextension)

This Behat extension provides an integration with Symfony (`^6.0` and `^7.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

73

—

ExcellentBetter than 100% of packages

Maintenance73

Regular maintenance activity

Popularity70

Solid adoption and visibility

Community54

Growing community involvement

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 76.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 ~135 days

Total

49

Last Release

396d ago

Major Versions

v0.2.1 → v1.0.02017-07-10

v1.4.0 → v2.0.0-beta.12019-01-10

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/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 (307 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)")[![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)")[![bartoszpietrzak1994](https://avatars.githubusercontent.com/u/22262296?v=4)](https://github.com/bartoszpietrzak1994 "bartoszpietrzak1994 (1 commits)")[![alexislefebvre](https://avatars.githubusercontent.com/u/2071331?v=4)](https://github.com/alexislefebvre "alexislefebvre (1 commits)")[![andy-educake](https://avatars.githubusercontent.com/u/57622391?v=4)](https://github.com/andy-educake "andy-educake (1 commits)")[![alexisLefebvre](https://avatars.githubusercontent.com/u/2071331?v=4)](https://github.com/alexisLefebvre "alexisLefebvre (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)")

---

Tags

bddbehatbehat-extensionminkmink-driverphpsymfony

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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