PHPackages                             niklongstone/behat-scenario-file-line - 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. niklongstone/behat-scenario-file-line

ActiveLibrary

niklongstone/behat-scenario-file-line
=====================================

A Behat output formatter which shows a list of scenarios' filename and line

015PHP

Since Jul 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/niklongstone/behat-scenario-file-line)[ Packagist](https://packagist.org/packages/niklongstone/behat-scenario-file-line)[ RSS](/packages/niklongstone-behat-scenario-file-line/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Behat File:Line output formatter
================================

[](#behat-fileline-output-formatter)

A Behat 3 output formatter which shows a list of scenarios with filename and line.
i.e.: `feature/feature/MyScenario/login.feature:2`

### Installation

[](#installation)

#### Require the library via [Composer](https://getcomposer.org/)

[](#require-the-library-via-composer)

`composer require niklongstone/behat-scenario-file-line:dev-master`

#### Add the formatter to your `behat.yml`:

[](#add-the-formatter-to-your-behatyml)

```
default:
    formatters:
        fileline: true
    extensions:
        FileLineFormatter\FileLineFormatterExtension:
            name: fileline
            base_path: %paths.base%

```

#### From the command line run:

[](#from-the-command-line-run)

`bin/behat --dry-run` to list the scenarios files with lines.

###  Health Score

20

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2381909665741bfdb7a04578356e583f8f1b2f89e5622d758f27d0b0ad2c8c0?d=identicon)[niklongstone](/maintainers/niklongstone)

---

Top Contributors

[![niklongstone](https://avatars.githubusercontent.com/u/6797299?v=4)](https://github.com/niklongstone "niklongstone (5 commits)")

### Embed Badge

![Health badge](/badges/niklongstone-behat-scenario-file-line/health.svg)

```
[![Health](https://phpackages.com/badges/niklongstone-behat-scenario-file-line/health.svg)](https://phpackages.com/packages/niklongstone-behat-scenario-file-line)
```

PHPackages © 2026

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