PHPackages                             johnbillion/wordhat - 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. johnbillion/wordhat

Abandoned → [lucatume/wp-browser](/?search=lucatume%2Fwp-browser)ArchivedBehat-extension[Testing &amp; Quality](/categories/testing)

johnbillion/wordhat
===================

WordHat is a Behat extension for WordPress. It provides WordPress-specific functionality for common testing scenarios specific to WordPress sites.

v3.3.0(6y ago)41.5k↓50%2GPL-3.0-or-laterPHPPHP &gt;=7.2 &lt;7.4

Since Sep 22Pushed 4y agoCompare

[ Source](https://github.com/johnbillion/wordhat)[ Packagist](https://packagist.org/packages/johnbillion/wordhat)[ Docs](https://wordhat.info)[ RSS](/packages/johnbillion-wordhat/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (9)Versions (29)Used By (0)

[![Build Status](https://camo.githubusercontent.com/988f25b0191746c1b5118754ea4def1a0d6f96398e69e69cd2d360ce0cf71474/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a6f686e62696c6c696f6e2f776f72646861742f54657374732f646576656c6f70)](https://github.com/johnbillion/wordhat/actions)[![Latest Stable Version](https://camo.githubusercontent.com/08cc38891644734f0b0cc3e5853859d913b132360f0d5df5607e76a8bf8c5e89/68747470733a2f2f706f7365722e707567782e6f72672f7061756c67696262732f62656861742d776f726470726573732d657874656e73696f6e2f762f737461626c652e737667)](https://packagist.org/packages/paulgibbs/behat-wordpress-extension)[![Total Downloads](https://camo.githubusercontent.com/caec9194a8bf891dc511b0b743e93c8b07eff35042f49825ea8fcf4dc150faf5/68747470733a2f2f706f7365722e707567782e6f72672f7061756c67696262732f62656861742d776f726470726573732d657874656e73696f6e2f646f776e6c6f6164732e737667)](https://packagist.org/packages/paulgibbs/behat-wordpress-extension)[![License](https://camo.githubusercontent.com/5bc0387da8a18109ad5d13ed83cd5e67fd83fc05b8e3160190eaa2a1cf96930f/68747470733a2f2f706f7365722e707567782e6f72672f7061756c67696262732f62656861742d776f726470726573732d657874656e73696f6e2f6c6963656e73652e737667)](https://packagist.org/packages/paulgibbs/behat-wordpress-extension)

WordHat: Behat for WordPress
============================

[](#wordhat-behat-for-wordpress)

---

⚠️ **This fork of WordHat is no longer maintained.** [I recommend that you use wp-browser instead](https://github.com/lucatume/wp-browser).
-------------------------------------------------------------------------------------------------------------------------------------------

[](#warning-this-fork-of-wordhat-is-no-longer-maintained-i-recommend-that-you-use-wp-browser-instead)

WordHat is a [Behat](http://behat.org) extension for [WordPress](https://wordpress.org). It provides WordPress-specific functionality for common testing scenarios specific to WordPress sites.

Use it for testing your WordPress site.
---------------------------------------

[](#use-it-for-testing-your-wordpress-site)

If you are new to the project or Behat, we recommend that you first [read through our documentation](https://wordhat.info/). If you just want to get started, download WordHat on [Composer](https://packagist.org/packages/paulgibbs/behat-wordpress-extension) or [Github](https://github.com/paulgibbs/behat-wordpress-extension).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~47 days

Total

22

Last Release

2520d ago

Major Versions

v0.9.2 → v1.0.02018-01-18

v1.2.0 → v2.0.02018-06-03

v2.0.0 → v3.0.02018-08-09

PHP version history (6 changes)v0.1.0PHP &gt;=5.4.0

v0.2.0PHP &gt;=5.6.0

v0.8.0PHP ~7.0

v2.0.0PHP ~7.1

v3.2.0PHP &gt;=7.1 &lt;7.4

v3.3.0PHP &gt;=7.2 &lt;7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/208434?v=4)[John Blackbourn](/maintainers/johnbillion)[@johnbillion](https://github.com/johnbillion)

---

Top Contributors

[![paulgibbs](https://avatars.githubusercontent.com/u/1275914?v=4)](https://github.com/paulgibbs "paulgibbs (1043 commits)")[![rvodden](https://avatars.githubusercontent.com/u/3389129?v=4)](https://github.com/rvodden "rvodden (135 commits)")[![stephenharris](https://avatars.githubusercontent.com/u/3255034?v=4)](https://github.com/stephenharris "stephenharris (113 commits)")[![johnbillion](https://avatars.githubusercontent.com/u/208434?v=4)](https://github.com/johnbillion "johnbillion (35 commits)")[![ataylorme](https://avatars.githubusercontent.com/u/2133004?v=4)](https://github.com/ataylorme "ataylorme (7 commits)")[![benmyrgorod](https://avatars.githubusercontent.com/u/65790228?v=4)](https://github.com/benmyrgorod "benmyrgorod (2 commits)")[![stevector](https://avatars.githubusercontent.com/u/211029?v=4)](https://github.com/stevector "stevector (2 commits)")[![jakewrfoster](https://avatars.githubusercontent.com/u/1018205?v=4)](https://github.com/jakewrfoster "jakewrfoster (1 commits)")[![codereviewvideos](https://avatars.githubusercontent.com/u/12968163?v=4)](https://github.com/codereviewvideos "codereviewvideos (1 commits)")[![BFTrick](https://avatars.githubusercontent.com/u/1065372?v=4)](https://github.com/BFTrick "BFTrick (1 commits)")[![websupporter](https://avatars.githubusercontent.com/u/6458412?v=4)](https://github.com/websupporter "websupporter (1 commits)")

---

Tags

wordpressBDDBehatextension

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/johnbillion-wordhat/health.svg)

```
[![Health](https://phpackages.com/badges/johnbillion-wordhat/health.svg)](https://phpackages.com/packages/johnbillion-wordhat)
```

###  Alternatives

[laracasts/behat-laravel-extension

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[dmarynicz/behat-parallel-extension

Parallel extension for Behat

27544.3k](/packages/dmarynicz-behat-parallel-extension)[zalas/behat-no-extension

The ultimate Behat extension

31137.9k1](/packages/zalas-behat-no-extension)[soulcodex/laravel-behat

Laravel Extension for easy integration with Behat

1760.8k](/packages/soulcodex-laravel-behat)[novaway/common-contexts

Novaway Behat common contexts

18187.8k3](/packages/novaway-common-contexts)[wdalmut/wordpress-extension

WordPress extension for Behat

131.4k](/packages/wdalmut-wordpress-extension)

PHPackages © 2026

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