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

ActiveLibrary[Testing &amp; Quality](/categories/testing)

testo/assert
============

Assert plugin for the Testo testing framework.

0.1.10(3w ago)06.9k↑730.8%10BSD-3-ClausePHPPHP &gt;=8.2

Since May 2Pushed 1mo agoCompare

[ Source](https://github.com/php-testo/assert)[ Packagist](https://packagist.org/packages/testo/assert)[ Fund](https://boosty.to/roxblnfk)[ RSS](/packages/testo-assert/feed)WikiDiscussions 1.x Synced 3w ago

READMEChangelogDependencies (2)Versions (11)Used By (10)

 [![TESTO](https://github.com/php-testo/.github/raw/1.x/resources/logo-full.svg?raw=true)](https://github.com/php-testo/testo)

Assert plugin

[![Documentation](https://camo.githubusercontent.com/581efe41679650c23bfc15e13cea47cde8aa70c0d5eb32ae469ed9765028674a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f63756d656e746174696f6e2d626c75653f7374796c653d666f722d7468652d6261646765266c6f676f3d676974626f6f6b266c6f676f436f6c6f723d7768697465)](https://php-testo.github.io)[![Support on Boosty](https://camo.githubusercontent.com/eca37b381ee1cc5abb7bbc819eb3792929666505c31ebc775962992648d00b92/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266c6162656c3d266d6573736167653d53706f6e736f7273686970266c6f676f3d426f6f737479266c6f676f436f6c6f723d776869746526636f6c6f723d253233463135463243)](https://boosty.to/roxblnfk)

Important

🪞 This is a read-only mirror.
-----------------------------

[](#-this-is-a-read-only-mirror)

Active development of the Testo project lives in [**php-testo/testo**](https://github.com/php-testo/testo) under `plugin/assert/`. This repository is **automatically synchronized** from there on every release.

File issues and pull requests in the [main monorepo](https://github.com/php-testo/testo/issues), not here.

About
-----

[](#about)

Provides Testo's assertion machinery: a fluent assertion facade, expectation lifecycle, and exception-matching helpers. Tests can describe what they expect to happen and the plugin reports the comparison result through Testo's regular pipeline.

Install
-------

[](#install)

```
composer require --dev testo/assert
```

[![PHP](https://camo.githubusercontent.com/51ea7684ef9f1aeb139aa9cd1e40cee4dfc845299c9cf3fc2858dc649d7f5fbc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746573746f2f6173736572742e7376673f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://packagist.org/packages/testo/assert)[![Latest Version on Packagist](https://camo.githubusercontent.com/11196f6eabf016ecfdcb6db714c2fdfd70a585e3f3655c23b670103443fb77b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746573746f2f6173736572742e7376673f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374)](https://packagist.org/packages/testo/assert)[![License](https://camo.githubusercontent.com/88520847f63751257b017c4cbdcfd65a0405caddea6dc52a3960968b9fdee63b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746573746f2f6173736572742e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-testo/testo/blob/1.x/LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/bc0eeac3391322d7e5af01f487e42d92543bb94d7bb178a632f91e1c3ca9a202/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746573746f2f6173736572742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/testo/assert/stats)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance94

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity43

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

Total

11

Last Release

23d ago

Major Versions

0.1.10 → 1.x-dev2026-07-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/110fa17dca123e71e4ef4132d1d6a66d20058a07fc6118e716dd67dd4316e886?d=identicon)[roxblnfk](/maintainers/roxblnfk)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

asserttesto

### Embed Badge

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

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

###  Alternatives

[beberlei/assert

Thin assertion library for input validation in business models.

2.4k101.9M636](/packages/beberlei-assert)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.8M652](/packages/spatie-phpunit-snapshot-assertions)[elliotchance/concise

Concise is test framework for using plain English and minimal code, built on PHPUnit.

47224.2k4](/packages/elliotchance-concise)[peridot-php/leo

Next level assertion and matcher library for PHP

36368.4k52](/packages/peridot-php-leo)[meyfa/phpunit-assert-gd

PHPUnit matcher/assertions for GD image resources

12563.4k15](/packages/meyfa-phpunit-assert-gd)[respect/assertion

The power of Respect\\Validation into an assertion library

2828.9k](/packages/respect-assertion)

PHPackages © 2026

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