PHPackages                             bex/behat-magento2-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. bex/behat-magento2-extension

ActiveBehat-extension[Testing &amp; Quality](/categories/testing)

bex/behat-magento2-extension
============================

Magento2 extension for Behat

2.1.3(5y ago)11111.2k↓40.9%7[1 PRs](https://github.com/tkotosz/BehatMagento2Extension/pulls)MITGherkinPHP &gt;=7.1

Since Mar 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tkotosz/BehatMagento2Extension)[ Packagist](https://packagist.org/packages/bex/behat-magento2-extension)[ Docs](https://github.com/tkotosz/BehatMagento2Extension)[ RSS](/packages/bex-behat-magento2-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (11)Versions (13)Used By (0)

BehatMagento2Extension
======================

[](#behatmagento2extension)

[![License](https://camo.githubusercontent.com/53ea8ff15c2848ca2ae8f4d03e461955eff0368e388014e7e290eca618737037/68747470733a2f2f706f7365722e707567782e6f72672f6265782f62656861742d6d6167656e746f322d657874656e73696f6e2f6c6963656e7365)](https://packagist.org/packages/bex/behat-magento2-extension)[![Latest Stable Version](https://camo.githubusercontent.com/ac3747b98e890924f27cee2a5776137a7d3f59db79648d53a08e964f535b9861/68747470733a2f2f706f7365722e707567782e6f72672f6265782f62656861742d6d6167656e746f322d657874656e73696f6e2f76657273696f6e)](https://packagist.org/packages/bex/behat-magento2-extension)[![Build Status](https://github.com/tkotosz/BehatMagento2Extension/actions/workflows/ci.yml/badge.svg)](https://github.com/tkotosz/BehatMagento2Extension/actions/workflows/ci.yml/badge.svg)

The `BehatMagento2Extension` provides a custom service container for Behat which allows to inject Magento services into Behat Contexts and Behat helper services.

Installation
------------

[](#installation)

The recommended installation method is through [Composer](https://getcomposer.org):

```
composer require --dev bex/behat-magento2-extension
```

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

[](#documentation)

The official documentation is available [here](https://behat-magento-2-extension.readthedocs.io/).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~145 days

Recently: every ~263 days

Total

11

Last Release

1180d ago

Major Versions

1.0.2 → 2.0.02019-10-15

2.x-dev → 3.x-dev2023-02-23

PHP version history (2 changes)1.0.0PHP &gt;=7.1

3.x-devPHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/6451ac5fdc814bfa3aec1b3cf746fdb3ccec68ccbbe3a6f30b3b6c9266b0cb79?d=identicon)[tkotosz](/maintainers/tkotosz)

---

Top Contributors

[![tkotosz](https://avatars.githubusercontent.com/u/4903365?v=4)](https://github.com/tkotosz "tkotosz (4 commits)")[![sprabhakar96](https://avatars.githubusercontent.com/u/62231869?v=4)](https://github.com/sprabhakar96 "sprabhakar96 (1 commits)")

---

Tags

BDDTDDmagentoBehatmagento2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bex-behat-magento2-extension/health.svg)

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

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1468.0M237](/packages/polishsymfonycommunity-symfony-mocker-container)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[bex/behat-extension-driver-locator

Driver locator tool for behat extensions

385.2M4](/packages/bex-behat-extension-driver-locator)[ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

601.6M5](/packages/ciaranmcnulty-behat-stepthroughextension)[bex/behat-step-time-logger

Extension for behat to help find slow scenario steps by logging the step times

261.5M1](/packages/bex-behat-step-time-logger)

PHPackages © 2026

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