PHPackages                             bwannduke/behat-twig-report-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. bwannduke/behat-twig-report-extension

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

bwannduke/behat-twig-report-extension
=====================================

Create Behat 3 test reports with Twig templates

v0.2.0(8y ago)020MITPHPPHP &gt;=5.3.2

Since Jan 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bwannduke/behat-twig-report-extension)[ Packagist](https://packagist.org/packages/bwannduke/behat-twig-report-extension)[ RSS](/packages/bwannduke-behat-twig-report-extension/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

behat-twig-report-extension
===========================

[](#behat-twig-report-extension)

Create Behat 3 test reports with Twig templates

About
-----

[](#about)

This extension provides an easy way to create reports of your test runs. It uses Twig for templating.

It term "report" in the extension name is deliberate as the output file will be created after all tests are processed.

An example can be [found here](http://htmlpreview.github.io/?https://raw.githubusercontent.com/chartinger/behat-twig-report-extension/master/doc/example-output.html)

[![Screenshot](https://raw.githubusercontent.com/chartinger/behat-twig-report-extension/master/doc/example.png "Example Screenshot")](https://raw.githubusercontent.com/chartinger/behat-twig-report-extension/master/doc/example.png)

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

[](#installation)

In your `composer.json` add

```
{
    "require": {
        ...
        "chartinger/behat-twig-report-extension": "*@dev"
    }
}
```

and update your dependencies

Usage
-----

[](#usage)

To activate this extension add this to your `behat.yml`

```
default:
  extensions:
    chartinger\Behat\TwigReportExtension\Extension:
      output:
        file: ./output/index.html
```

Configuration
-------------

[](#configuration)

You can confgure the templates as well as the output file.

```
default:
  extensions:
    chartinger\Behat\TwigReportExtension\Extension:
      templates:
        dir: /path/to/templates
        file: yourtemplate.twig
      output:
        file: ./output/index.html
```

Known Issues / Limitations
--------------------------

[](#known-issues--limitations)

- No output of exact errors

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~917 days

Total

2

Last Release

3221d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29c08b97304ce5999a2bfbb4f9243b7eaed942d0b9f96d213c30bd2f53c28fd4?d=identicon)[bwannduke](/maintainers/bwannduke)

---

Top Contributors

[![chartinger](https://avatars.githubusercontent.com/u/1876970?v=4)](https://github.com/chartinger "chartinger (14 commits)")[![anho](https://avatars.githubusercontent.com/u/863612?v=4)](https://github.com/anho "anho (1 commits)")[![bwannduke](https://avatars.githubusercontent.com/u/18562114?v=4)](https://github.com/bwannduke "bwannduke (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bwannduke-behat-twig-report-extension/health.svg)

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

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

22215.1M147](/packages/drupal-drupal-extension)[friends-of-behat/variadic-extension

Variadic support for behat context arguments

2286.0M446](/packages/friends-of-behat-variadic-extension)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[drevops/behat-steps

Collection of steps for Behat

25381.7k3](/packages/drevops-behat-steps)[elkan/behatformatter

This will create a formatter for Behat 3! Fast, Easy and Pretty!

1739.8k](/packages/elkan-behatformatter)[friends-of-behat/test-context

Provides reusable context that helps in testing Behat extensions.

1722.0k12](/packages/friends-of-behat-test-context)

PHPackages © 2026

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