PHPackages                             friends-of-behat/mink-debug-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. friends-of-behat/mink-debug-extension

ActiveBehat-extension[Logging &amp; Monitoring](/categories/logging)

friends-of-behat/mink-debug-extension
=====================================

Debug extension for Behat

v2.2.0(1mo ago)2065.8M↓30.6%13[2 issues](https://github.com/FriendsOfBehat/MinkDebugExtension/issues)[1 PRs](https://github.com/FriendsOfBehat/MinkDebugExtension/pulls)20MITPHPPHP &gt;=8.2CI passing

Since Sep 14Pushed 1mo ago10 watchersCompare

[ Source](https://github.com/FriendsOfBehat/MinkDebugExtension)[ Packagist](https://packagist.org/packages/friends-of-behat/mink-debug-extension)[ Docs](https://github.com/FriendsOfBehat/MinkDebugExtension)[ RSS](/packages/friends-of-behat-mink-debug-extension/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (16)Versions (14)Used By (20)

MinkDebugExtension
==================

[](#minkdebugextension)

**MinkDebugExtension** is a Behat extension made for debugging and logging Mink related data after every failed step. It is especially useful while running tests on continuous integration server like Travis. While using appropriate driver, you can also save screenshots just after the failure.

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

[](#installation)

Assuming you already have Composer:

```
composer require friends-of-behat/mink-debug-extension
```

Then you only need to configure your Behat profile:

```
default:
    extensions:
        FriendsOfBehat\MinkDebugExtension:
            directory: directory-where-to-save-logs
```

Configuration reference
-----------------------

[](#configuration-reference)

Under `FriendsOfBehat\MinkDebugExtension` there are three options to be configured:

- `directory` (required to enable extension) - contains path to directory that will contain generated logs. Use the variable `%paths.base%` to refer to the directory where your `behat.yml` is
- `screenshot` (default `false`) - whether to save screenshots if using supporting driver
- `clean_start` (default `true`) - whether to clean your existing logs on each Behat execution

Testing
-------

[](#testing)

In order to test the extensions run:

```
composer install
bin/behat --strict
```

Authors
-------

[](#authors)

MinkDebugExtension was originally created by [Kamil Kokot](https://kamilkokot.com). See the list of [contributors](https://github.com/FriendsOfBehat/MinkDebugExtension/contributors).

###  Health Score

73

—

ExcellentBetter than 100% of packages

Maintenance93

Actively maintained with recent releases

Popularity61

Solid adoption and visibility

Community45

Growing community involvement

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50% 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 ~329 days

Recently: every ~887 days

Total

13

Last Release

34d ago

Major Versions

v1.2.3 → v2.0.02020-12-02

PHP version history (5 changes)v1.0.0PHP &gt;=5.5.9

v1.0.3PHP ^5.5.9|^7.0

v2.0.0PHP ^7.2 || ^8.0

v2.1.0PHP &gt;=7.4

v2.2.0PHP &gt;=8.2

### 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 (40 commits)")[![4c0n](https://avatars.githubusercontent.com/u/2325383?v=4)](https://github.com/4c0n "4c0n (24 commits)")[![michalmarcinkowski](https://avatars.githubusercontent.com/u/7572437?v=4)](https://github.com/michalmarcinkowski "michalmarcinkowski (5 commits)")[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (3 commits)")[![GSadee](https://avatars.githubusercontent.com/u/6140884?v=4)](https://github.com/GSadee "GSadee (3 commits)")[![lchrusciel](https://avatars.githubusercontent.com/u/6213903?v=4)](https://github.com/lchrusciel "lchrusciel (1 commits)")[![kasperg](https://avatars.githubusercontent.com/u/73966?v=4)](https://github.com/kasperg "kasperg (1 commits)")[![NoResponseMate](https://avatars.githubusercontent.com/u/9448101?v=4)](https://github.com/NoResponseMate "NoResponseMate (1 commits)")[![gabiudrescu](https://avatars.githubusercontent.com/u/5156054?v=4)](https://github.com/gabiudrescu "gabiudrescu (1 commits)")[![dpfaffenbauer](https://avatars.githubusercontent.com/u/5981845?v=4)](https://github.com/dpfaffenbauer "dpfaffenbauer (1 commits)")

---

Tags

loggingdebugMinkBehat

### Embed Badge

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

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

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

22115.8M179](/packages/drupal-drupal-extension)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3441.6M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

184643.6k7](/packages/inpsyde-wonolog)[drevops/behat-screenshot

Behat extension and step definitions to create HTML and image screenshots on demand or when tests fail

231.8M35](/packages/drevops-behat-screenshot)[pana1990/php-web-profiler

Web profiler in the browser for php application

131.4k](/packages/pana1990-php-web-profiler)

PHPackages © 2026

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