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(8y ago)010.6kGPL-2.0-or-laterPHP

Since Mar 29Pushed 8y 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 2w ago

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 75% 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

2932d 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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[drupal/drupal-extension

Drupal extension for Behat

21115.5M166](/packages/drupal-drupal-extension)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.0M322](/packages/drupal-core-dev)

PHPackages © 2026

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