PHPackages                             jdeniau/behat-reviewdog-formatter - 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. jdeniau/behat-reviewdog-formatter

ActiveLibrary[Testing &amp; Quality](/categories/testing)

jdeniau/behat-reviewdog-formatter
=================================

A behat formatter that does output to rdjsonl to be handled by reviewdog

v0.3.1(1y ago)18.1k↓42.2%MITPHP

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jdeniau/behat-reviewdog-formatter)[ Packagist](https://packagist.org/packages/jdeniau/behat-reviewdog-formatter)[ RSS](/packages/jdeniau-behat-reviewdog-formatter/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (10)Versions (8)Used By (0)

behat-reviewdog-formatter
=========================

[](#behat-reviewdog-formatter)

A behat formatter that does output to rdjsonl to be handled by reviewdog

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

[](#installation)

```
composer require --dev jdeniau/behat-reviewdog-formatter
```

Usage
-----

[](#usage)

Configure your `behat.yml` file:

```
default:
  extensions:
    JDeniau\BehatReviewdogFormatter\ReviewdogFormatterExtension: ~

  formatters:
    pretty: true
    reviewdog: # "reviewdog" here is the "name" given in our formatter
      # outputh_path is optional and handled directy by behat
      output_path: 'build/logs/behat'
      # file_name is optional and a custom parameter that we inject into the printer
      file_name: 'reviewdog-behat.json'
      # optional, default to true
      remove_old_file: true
```

### Different output per profile

[](#different-output-per-profile)

You can active the extension only for a certain profile by specifying a profile in your command (ex: `--profile=ci`)

For example if you want the pretty formatter by default, but both progress and reviewdog on your CI, you can configure it like that:

```
default:
  extensions:
    JDeniau\BehatReviewdogFormatter\ReviewdogFormatterExtension: ~

  formatters:
    pretty: true

ci:
  formatters:
    pretty: false
    progress: true
    reviewdog:
      output_path: 'build/logs/behat'
      file_name: 'reviewdog-behat.json'
      # optional, default to true
      remove_old_file: true
```

Related
-------

[](#related)

Want more detail about how you can create your own behat extension ? See how this extension has been made in [this blogpost](https://julien.deniau.me/posts/2024-01-24-custom-behat-formatter)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~39 days

Recently: every ~58 days

Total

7

Last Release

657d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3277986d0e1f93c7e8a58fdaf1b52e3f5a1588e73dfa298d33aafb1ebbde5ef2?d=identicon)[jdeniau](/maintainers/jdeniau)

---

Top Contributors

[![jdeniau](https://avatars.githubusercontent.com/u/1398469?v=4)](https://github.com/jdeniau "jdeniau (16 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jdeniau-behat-reviewdog-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/jdeniau-behat-reviewdog-formatter/health.svg)](https://phpackages.com/packages/jdeniau-behat-reviewdog-formatter)
```

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

22215.7M172](/packages/drupal-drupal-extension)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[friends-of-behat/symfony-extension

Integrates Behat with Symfony.

48125.0M664](/packages/friends-of-behat-symfony-extension)[friends-of-behat/variadic-extension

Variadic support for behat context arguments

2276.4M506](/packages/friends-of-behat-variadic-extension)[drevops/behat-steps

Collection of steps for Behat

27432.2k4](/packages/drevops-behat-steps)[friends-of-behat/mink-extension

Mink extension for Behat

14036.7M588](/packages/friends-of-behat-mink-extension)

PHPackages © 2026

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