PHPackages                             dennisdigital/behat-protocol - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. dennisdigital/behat-protocol

ActiveProject[HTTP &amp; Networking](/categories/http)

dennisdigital/behat-protocol
============================

Provides steps to check the scheme used by HTTP resources

1.0.7(7y ago)010.6kGPL-2.0-or-laterPHP

Since Mar 29Pushed 7y ago37 watchersCompare

[ Source](https://github.com/dennisinteractive/behat-protocol)[ Packagist](https://packagist.org/packages/dennisdigital/behat-protocol)[ RSS](/packages/dennisdigital-behat-protocol/feed)WikiDiscussions master Synced yesterday

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

Behat Protocol
==============

[](#behat-protocol)

Provides steps to check the scheme used by HTTP resources

Provides the following step definitions
---------------------------------------

[](#provides-the-following-step-definitions)

```
Then the response should not contain internal http urls
Then I should not see any internal http urls in JavaScript

```

Default behaviour
-----------------

[](#default-behaviour)

- `base_url` will be checked

Configure in behat.yml
----------------------

[](#configure-in-behatyml)

Add `DennisDigital\Behat\Protocol\Context\ProtocolContext` under `Contexts`

#### You can also configure extra internal hosts to check

[](#you-can-also-configure-extra-internal-hosts-to-check)

```
DennisDigital\Behat\Protocol\Context\ProtocolContext:
  parameters:
    hosts:
      - www.example.com
      - images.example.com
      - cdn.example.com

```

#### Specify headers to be sent with each request

[](#specify-headers-to-be-sent-with-each-request)

```
DennisDigital\Behat\Protocol\Context\ProtocolContext:
  parameters:
    headers:
      "X-Forwarded-Proto": https

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~19 days

Total

7

Last Release

2884d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7585951?v=4)[dennisdigital](/maintainers/dennisdigital)[@dennisdigital](https://github.com/dennisdigital)

---

Top Contributors

[![davidgrayston](https://avatars.githubusercontent.com/u/1229335?v=4)](https://github.com/davidgrayston "davidgrayston (7 commits)")[![jimwills123](https://avatars.githubusercontent.com/u/30599947?v=4)](https://github.com/jimwills123 "jimwills123 (1 commits)")

---

Tags

behat

### Embed Badge

![Health badge](/badges/dennisdigital-behat-protocol/health.svg)

```
[![Health](https://phpackages.com/badges/dennisdigital-behat-protocol/health.svg)](https://phpackages.com/packages/dennisdigital-behat-protocol)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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