PHPackages                             hanhan1978/restapi-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. hanhan1978/restapi-extension

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

hanhan1978/restapi-extension
============================

Restful API Test extension for behat

1.0.6(9y ago)04971MITPHPPHP &gt;=5.5.0

Since Jun 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hanhan1978/RestApiExtension)[ Packagist](https://packagist.org/packages/hanhan1978/restapi-extension)[ Docs](https://github.com/hanhan1978/RestApiExtension)[ RSS](/packages/hanhan1978-restapi-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a2fc2bdff12e10a85aad71fa6e674077114145a71dc7038464e6dedd491d96a0/68747470733a2f2f7472617669732d63692e6f72672f68616e68616e313937382f52657374417069457874656e73696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hanhan1978/RestApiExtension)

RestApiExtension
================

[](#restapiextension)

is an extension for REST API testting with Behat

Installation
============

[](#installation)

via composer
------------

[](#via-composer)

```
    "require": {
        "hanhan1978/restapi-extension": "1.0.*"
    },

```

Settings for behat.yml
======================

[](#settings-for-behatyml)

```
default:
    extensions:
        Behat\RestApiExtension:
            base_url: http://127.0.0.1:3000/
    suites:
        default:
            contexts:
              - 'Behat\RestApiExtension\Context\RestApiContext'

```

=&gt; change base\_url to your own.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~99 days

Total

7

Last Release

3585d ago

### Community

Maintainers

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

---

Top Contributors

[![hanhan1978](https://avatars.githubusercontent.com/u/491838?v=4)](https://github.com/hanhan1978 "hanhan1978 (13 commits)")

---

Tags

apitestrest

### Embed Badge

![Health badge](/badges/hanhan1978-restapi-extension/health.svg)

```
[![Health](https://phpackages.com/badges/hanhan1978-restapi-extension/health.svg)](https://phpackages.com/packages/hanhan1978-restapi-extension)
```

###  Alternatives

[infyomlabs/laravel-generator

InfyOm Laravel Generator

3.8k2.3M13](/packages/infyomlabs-laravel-generator)[ubirak/rest-api-behat-extension

Rest Api Extension for Behat

41327.0k2](/packages/ubirak-rest-api-behat-extension)[imbo/behat-api-extension

API extension for Behat

1082.5M9](/packages/imbo-behat-api-extension)[kielabokkie/jsonapi-behat-extension

Behat extension for testing JSON APIs

1516.5k](/packages/kielabokkie-jsonapi-behat-extension)[teaandcode/behat-guzzle-extension

Behat API extension using Guzzle Service Descriptions to functionally test API endpoints

1017.7k](/packages/teaandcode-behat-guzzle-extension)[zalas/behat-rest-extension

Rest extension for Behat

321.9k](/packages/zalas-behat-rest-extension)

PHPackages © 2026

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