PHPackages                             xedi/laravel-behat - 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. xedi/laravel-behat

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

xedi/laravel-behat
==================

Laravel Extension for Behat

3.0.0(5y ago)11.6k[2 issues](https://github.com/xedi/laravel-behat/issues)[1 PRs](https://github.com/xedi/laravel-behat/pulls)MITPHPPHP &gt;=5.4CI failing

Since Nov 29Pushed 4y ago3 watchersCompare

[ Source](https://github.com/xedi/laravel-behat)[ Packagist](https://packagist.org/packages/xedi/laravel-behat)[ RSS](/packages/xedi-laravel-behat/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (15)Versions (17)Used By (0)

laravel-behat
=============

[](#laravel-behat)

Behat Extension compatible with both Laravel and Lumen

---

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

Pull in the extension using composer

```
composer require xedi/laravel-behat --dev
```

ℹ️ **If you are using Lumen you will need to register the ServiceProvider yourself for access to the Artisan commands.**

```
// bootstrap/app.php
if (class_exists("Xedi\\Behat\\ServiceProvider")) {
    $app->register("Xedi\\Behat\\ServiceProvider");
}
```

### Setup

[](#setup)

Next you need to configure behat.

```
php artisan make:behat-yaml
```

It is recommended that you use a `.env.behat` environment file and set the `LOG_DRIVER` to `single`.

Then, you need to initialize a behat within your repository.

```
vendor/bin/behat --init
```

If everything is working, it will create a "features" directory within your repository.

### Running the tests

[](#running-the-tests)

To run the test run behat as normal.

```
vendor/bin/behat
```

Alternatively, you can run individual files:

```
vendor/bin/behat -- features/Example.feature
```

You can also run specific Scenarios by specifying the line number it begins on:

```
vendor/bin/behat -- features/Example.feature:54
```

For more information, check out the help documentation using the `--help` option

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% 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 ~48 days

Recently: every ~82 days

Total

15

Last Release

2052d ago

Major Versions

1.0.11 → 2.0.02020-02-19

2.0.101 → 3.0.02020-09-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/f95eef5a70b25502637e71769ca9a7711351aaeb7b777c77966ad94395ea7ffa?d=identicon)[xedi-ltd](/maintainers/xedi-ltd)

---

Top Contributors

[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (640 commits)")[![midmiddleton](https://avatars.githubusercontent.com/u/3594990?v=4)](https://github.com/midmiddleton "midmiddleton (24 commits)")[![Smudge3806](https://avatars.githubusercontent.com/u/1736867?v=4)](https://github.com/Smudge3806 "Smudge3806 (1 commits)")

---

Tags

bddbehatbehat-extensionlaravellaravel-behatlumenlumen-behattddlaravelBDDBehatextension

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/xedi-laravel-behat/health.svg)

```
[![Health](https://phpackages.com/badges/xedi-laravel-behat/health.svg)](https://phpackages.com/packages/xedi-laravel-behat)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[behat/behat

Scenario-oriented BDD framework for PHP

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

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[soulcodex/laravel-behat

Laravel Extension for easy integration with Behat

1760.8k](/packages/soulcodex-laravel-behat)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[leanphp/behat-code-coverage

Generate Code Coverage reports for Behat tests

50359.8k2](/packages/leanphp-behat-code-coverage)

PHPackages © 2026

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