PHPackages                             macpaw/behat-api-context - 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. [API Development](/categories/api)
4. /
5. macpaw/behat-api-context

ActiveSymfony-bundle[API Development](/categories/api)

macpaw/behat-api-context
========================

Behat Context for testing Symfony Api

v3.1.0(1mo ago)6239.8k↓43.1%4[1 PRs](https://github.com/MacPaw/behat-api-context/pulls)1MITPHPPHP ^8.1CI passing

Since Jan 19Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/MacPaw/behat-api-context)[ Packagist](https://packagist.org/packages/macpaw/behat-api-context)[ RSS](/packages/macpaw-behat-api-context/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (25)Versions (39)Used By (1)

Behat Api Context Bundle
========================

[](#behat-api-context-bundle)

VersionBuild StatusCode CoverageLatest Release`master`[![CI](https://github.com/MacPaw/behat-api-context/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/MacPaw/behat-api-context/actions/workflows/ci.yaml)[![Coverage Status](https://camo.githubusercontent.com/f7073d10d1229bb59cc0d52173456794807f6f4cb905e200602fb8ae473cb664/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d61637061772f62656861742d6170692d636f6e746578742f6d61737465723f6c6f676f3d636f6465636f76)](https://codecov.io/gh/macpaw/behat-api-context/branch/master)[![Latest Release](https://camo.githubusercontent.com/fbff762be76a56866c2968f98d0151794e01d1013cd4372efc3578d11759ae31/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d61637061772f62656861742d6170692d636f6e74657874)](https://camo.githubusercontent.com/fbff762be76a56866c2968f98d0151794e01d1013cd4372efc3578d11759ae31/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d61637061772f62656861742d6170692d636f6e74657874)`develop`[![CI](https://github.com/MacPaw/behat-api-context/actions/workflows/ci.yaml/badge.svg?branch=develop)](https://github.com/MacPaw/behat-api-context/actions/workflows/ci.yaml)[![Coverage Status](https://camo.githubusercontent.com/885ceddffaa159cf9f817a0aff2704e8c8a6d8f8c61cefd8a0edeb495798c5cb/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d61637061772f62656861742d6170692d636f6e746578742f646576656c6f703f6c6f676f3d636f6465636f76)](https://codecov.io/gh/macpaw/behat-api-context/branch/develop)----

Behat API Context provides a set of Behat steps for testing RESTful APIs with support for dynamic request parameters, context persistence, and Symfony integration.

---

📄 Documentation
---------------

[](#-documentation)

- [Installation &amp; Configuration](docs/install.md)
- [Available Steps](docs/steps.md)
- [Usage Examples](docs/examples.md)
- [Runnable Parameters](docs/runnable-parameters.md)

---

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~69 days

Recently: every ~77 days

Total

23

Last Release

55d ago

Major Versions

v1.4.0 → v2.0.02025-05-20

v2.0.0 → v3.0.02026-01-29

PHP version history (2 changes)v1.0.0PHP ^7.4 || ^8.0

v3.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1935412?v=4)[MacPaw Inc.](/maintainers/macpaw)[@MacPaw](https://github.com/MacPaw)

![](https://www.gravatar.com/avatar/415a6c5f079859104abefc3592ee26337cfdb8466a98d1fadcd010072414523e?d=identicon)[Yozhef](/maintainers/Yozhef)

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

---

Top Contributors

[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (36 commits)")[![serhiidonii](https://avatars.githubusercontent.com/u/158484424?v=4)](https://github.com/serhiidonii "serhiidonii (19 commits)")[![zakhar-huzenko](https://avatars.githubusercontent.com/u/26282904?v=4)](https://github.com/zakhar-huzenko "zakhar-huzenko (13 commits)")[![IiiigorGG](https://avatars.githubusercontent.com/u/46721494?v=4)](https://github.com/IiiigorGG "IiiigorGG (12 commits)")[![cursoragent](https://avatars.githubusercontent.com/u/199161495?v=4)](https://github.com/cursoragent "cursoragent (10 commits)")[![ganzyukv](https://avatars.githubusercontent.com/u/12824765?v=4)](https://github.com/ganzyukv "ganzyukv (10 commits)")[![ScaryDonetskiy](https://avatars.githubusercontent.com/u/12470079?v=4)](https://github.com/ScaryDonetskiy "ScaryDonetskiy (1 commits)")[![tamila1210](https://avatars.githubusercontent.com/u/47143404?v=4)](https://github.com/tamila1210 "tamila1210 (1 commits)")[![Vartanchik](https://avatars.githubusercontent.com/u/39963272?v=4)](https://github.com/Vartanchik "Vartanchik (1 commits)")[![ihor-kopyl](https://avatars.githubusercontent.com/u/190011858?v=4)](https://github.com/ihor-kopyl "ihor-kopyl (1 commits)")[![dmaMacpaw](https://avatars.githubusercontent.com/u/31437764?v=4)](https://github.com/dmaMacpaw "dmaMacpaw (1 commits)")

---

Tags

backendmacpawapisymfonyBDDContextBehatMacPaw

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/macpaw-behat-api-context/health.svg)

```
[![Health](https://phpackages.com/badges/macpaw-behat-api-context/health.svg)](https://phpackages.com/packages/macpaw-behat-api-context)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[macpaw/behat-messenger-context

Behat Context for testing Symfony Messenger component

16232.9k](/packages/macpaw-behat-messenger-context)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)[google-gemini-php/symfony

Symfony Bundle for Gemini

149.4k1](/packages/google-gemini-php-symfony)

PHPackages © 2026

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