Behat/Gherkin
Gherkin parser, written in PHP for Behat project observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 96
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 57.0
- age_days: 5720
- days_rel: 107
- days_push: 27
- n_releases_24m: 9
Adoption not part of the score
1064 stars · 94 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library that parses Gherkin feature files (the DSL used by Cucumber-style BDD tools) into structured objects. It supports over 40 natural languages and serves as the parser bundled with the Behat testing framework.
Use cases
- parse gherkin feature files in php
- extract scenarios from .feature files
- build a custom bdd tool in php
- validate gherkin syntax
- support non-english gherkin keywords
When to choose
- you need to parse or manipulate Gherkin in a PHP project
- you are building tooling around Behat or Cucumber-style feature files
- you need multilingual Gherkin keyword support
When to avoid
- you need to run BDD tests yourself rather than parse files - use Behat directly
- your project is not in PHP
- you need a Gherkin parser for another language ecosystem like Cucumber JVM orgherkin-go
Facets
library · maturity active
parser testing internationalization testing parsers developer-tools php cli gherkin behat bdd cucumber-syntax feature-files
1 source
- readme: https://github.com/Behat/Gherkin · fetched 2026-08-28 · 5ef15dc60a58
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Behat/Gherkin | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem