PHPackages                             zenstruck/assert-html - 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. zenstruck/assert-html

Abandoned → [zenstruck/dom](/?search=zenstruck%2Fdom)ArchivedLibrary[Testing &amp; Quality](/categories/testing)

zenstruck/assert-html
=====================

Fluent html assertions plugin for zenstruck/assert.

v0.2.1(3y ago)1271MITPHPPHP &gt;=8.0

Since Apr 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zenstruck/assert-html)[ Packagist](https://packagist.org/packages/zenstruck/assert-html)[ Docs](https://github.com/zenstruck/assert-html)[ GitHub Sponsors](https://github.com/kbond)[ RSS](/packages/zenstruck-assert-html/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

zenstruck/assert-html
=====================

[](#zenstruckassert-html)

[![CI](https://github.com/zenstruck/assert-html/actions/workflows/ci.yml/badge.svg)](https://github.com/zenstruck/assert-html/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/4991e5b2e135a32eb8e182058ac60097b2a3328308b0f41c1ab542bb81f77520/68747470733a2f2f636f6465636f762e696f2f67682f7a656e73747275636b2f6173736572742d68746d6c2f6272616e63682f312e782f67726170682f62616467652e7376673f746f6b656e3d44377a4f384d43526a67)](https://codecov.io/gh/zenstruck/assert-html)

Fluent html assertions *plugin* for [`zenstruck/assert`](https://github.com/zenstruck/assert).

Installation
------------

[](#installation)

```
composer require --dev zenstruck/assert-html
```

Usage
-----

[](#usage)

[Documentation](https://github.com/zenstruck/assert#html-expectations).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Total

4

Last Release

1139d ago

Major Versions

v0.2.1 → 1.x-dev2023-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/707369cc916e0ea1aacbf077dcba464f611cef879f024d8944311a54a15224b3?d=identicon)[kbond](/maintainers/kbond)

---

Top Contributors

[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (5 commits)")

---

Tags

assertionphpunittestphpunittestassertion

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zenstruck-assert-html/health.svg)

```
[![Health](https://phpackages.com/badges/zenstruck-assert-html/health.svg)](https://phpackages.com/packages/zenstruck-assert-html)
```

###  Alternatives

[zenstruck/assert

Standalone, lightweight, framework agnostic, test assertion library.

8114.9M8](/packages/zenstruck-assert)[fr3d/swagger-assertions

Test your API requests and responses against your swagger definition

138850.9k5](/packages/fr3d-swagger-assertions)[zenstruck/browser

A fluent interface for your Symfony functional tests.

2272.2M21](/packages/zenstruck-browser)[drupal/drupal-extension

Drupal extension for Behat

22215.1M147](/packages/drupal-drupal-extension)[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)[kenjis/ci-phpunit-test

An easier way to use PHPUnit with CodeIgniter 3.x

5861.2M3](/packages/kenjis-ci-phpunit-test)

PHPackages © 2026

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