PHPackages                             amtgard/phpunit-extensions - 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. amtgard/phpunit-extensions

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

amtgard/phpunit-extensions
==========================

PHPUnit Extensions

v1.0.2(1y ago)01234MITPHPPHP &gt;=8.1

Since May 28Pushed 1y agoCompare

[ Source](https://github.com/amtgard/phpunit-extensions)[ Packagist](https://packagist.org/packages/amtgard/phpunit-extensions)[ Docs](https://github.com/amtgard/phpunit-extensions)[ RSS](/packages/amtgard-phpunit-extensions/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (4)

### Amtgard PHPUnit Extensions

[](#amtgard-phpunit-extensions)

Adds `self::assertThrows(string $throwableClass, callable $callable)` and `self::assertDoesNotThrow(callable $callable)` assertions.

#### assertThrows()

[](#assertthrows)

Takes a throwable classname. The callable must throw the exception and the exception class must match.

#### assertDoesNotThrow()

[](#assertdoesnotthrow)

The callable must not throw.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance49

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

376d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b6d7e891827c823a1d8bbef786eb928fe33647f76f0ae469c3bea4757b51888?d=identicon)[amtgard](/maintainers/amtgard)

---

Top Contributors

[![esdraelon](https://avatars.githubusercontent.com/u/7896847?v=4)](https://github.com/esdraelon "esdraelon (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/amtgard-phpunit-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/amtgard-phpunit-extensions/health.svg)](https://phpackages.com/packages/amtgard-phpunit-extensions)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)[gong023/assert_chain

enable you to use phpunit assert with method chain

1478.9k3](/packages/gong023-assert-chain)

PHPackages © 2026

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