PHPackages                             neighborhoods/throwable-diagnostic-phpunit-component - 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. neighborhoods/throwable-diagnostic-phpunit-component

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

neighborhoods/throwable-diagnostic-phpunit-component
====================================================

Utilities for testing software using ThrowableDiagnosticComponent.

1.0.1(5y ago)21.9kMITPHP

Since Jun 22Pushed 5y ago14 watchersCompare

[ Source](https://github.com/neighborhoods/ThrowableDiagnosticPHPUnitComponent)[ Packagist](https://packagist.org/packages/neighborhoods/throwable-diagnostic-phpunit-component)[ RSS](/packages/neighborhoods-throwable-diagnostic-phpunit-component/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Throwable Diagnostic PHPUnit Component
======================================

[](#throwable-diagnostic-phpunit-component)

Utilities for testing software using [ThrowableDiagnosticComponent](https://github.com/neighborhoods/ThrowableDiagnosticComponent).

- Prevent diagnosis of failed assertions
- Mocks for commonly injected classes

Install
-------

[](#install)

Via Composer as development dependency

```
composer require --dev neighborhoods/throwable-diagnostic-phpunit-component
```

PHPUnit Decorator
-----------------

[](#phpunit-decorator)

Failed [PHPUnit](https://github.com/sebastianbergmann/phpunit) assertions raise Exceptions. Throwable Diagnostic Component disturbs the Exception based communication between a test case and the PHPUnit framework. The [PHPUnit decorator](src/ThrowableDiagnosticV1Decorators/PhpUnitV1/README.md) prevents Throwable Diagnostic Component from interfering with PHPUnit Exceptions.

Mocks
-----

[](#mocks)

TBD

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~1 days

Total

2

Last Release

1838d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8584765?v=4)[neighborhoods.com](/maintainers/neighborhoods)[@neighborhoods](https://github.com/neighborhoods)

---

Top Contributors

[![Firtzberg](https://avatars.githubusercontent.com/u/8490119?v=4)](https://github.com/Firtzberg "Firtzberg (4 commits)")[![arielallon](https://avatars.githubusercontent.com/u/1356396?v=4)](https://github.com/arielallon "arielallon (1 commits)")

---

Tags

testingphpunitthrowable-diagnostic-component

### Embed Badge

![Health badge](/badges/neighborhoods-throwable-diagnostic-phpunit-component/health.svg)

```
[![Health](https://phpackages.com/badges/neighborhoods-throwable-diagnostic-phpunit-component/health.svg)](https://phpackages.com/packages/neighborhoods-throwable-diagnostic-phpunit-component)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k955.1M155.6k](/packages/phpunit-phpunit)[brianium/paratest

Parallel testing for PHP

2.5k136.1M988](/packages/brianium-paratest)[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k9.0M410](/packages/codedungeon-phpunit-result-printer)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.8M639](/packages/spatie-phpunit-snapshot-assertions)[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

57129.2M614](/packages/dg-bypass-finals)[phpunit/phpunit-selenium

Selenium Server integration for PHPUnit

61011.1M165](/packages/phpunit-phpunit-selenium)

PHPackages © 2026

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