PHPackages                             procurios/phpunit-adapter - 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. procurios/phpunit-adapter

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

procurios/phpunit-adapter
=========================

Compatibility layer for packages needing to support older versions of phpunit.

5.4.0(9y ago)112MITPHPPHP &gt;=5.3

Since Jan 22Pushed 9y ago4 watchersCompare

[ Source](https://github.com/procurios/phpunit-adapter)[ Packagist](https://packagist.org/packages/procurios/phpunit-adapter)[ RSS](/packages/procurios-phpunit-adapter/feed)WikiDiscussions master Synced 4w ago

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

phpunit-adapter
===============

[](#phpunit-adapter)

[![Build Status](https://camo.githubusercontent.com/4da93b562a0f506654febd0aefe5f325205718276fc162956f861f9d3db7aef1/68747470733a2f2f7472617669732d63692e6f72672f70726f637572696f732f706870756e69742d616461707465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/procurios/phpunit-adapter)

When new features come available in [PHPUnit](https://phpunit.de/) you will not always be able to use them directly due to several possible reasons.

When you do want to use these new features, but your tests need to be able to run on older versions of PHPUnit (e.g. because of older supported PHP versions) this compatibility package might come in handy. It aims to implement new features of PHPUnit supporting older versions.

Usage
-----

[](#usage)

Instead of extending the `PHPUnit\Framework\TestCase` class, you'd simply extend the `Procurios\TDD\PhpunitAdapter\PhpunitAdapterTestCase` class and you're done!

Features
--------

[](#features)

This package only extends the `PHPUnit\Framework\TestCase` class. You will be able to use any method available in phpunit 5.5.0.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

7

Last Release

3445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/665a67aa7d800ab1d6a1c2d32051387d18b637cfdc84149fdf868f8585c8a811?d=identicon)[tacovandenbroek](/maintainers/tacovandenbroek)

---

Top Contributors

[![tacovandenbroek](https://avatars.githubusercontent.com/u/1499481?v=4)](https://github.com/tacovandenbroek "tacovandenbroek (27 commits)")

---

Tags

compatibilityphpunitadapterphpunit5phpunit4

### Embed Badge

![Health badge](/badges/procurios-phpunit-adapter/health.svg)

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

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k129.9M920](/packages/brianium-paratest)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.1M607](/packages/spatie-phpunit-snapshot-assertions)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1499.3M94](/packages/ergebnis-phpunit-slow-test-detector)[allure-framework/allure-phpunit

Allure PHPUnit integration

6613.2M44](/packages/allure-framework-allure-phpunit)[facile-it/paraunit

paraunit

145802.1k15](/packages/facile-it-paraunit)[robiningelbrecht/phpunit-pretty-print

Prettify PHPUnit output

77514.9k15](/packages/robiningelbrecht-phpunit-pretty-print)

PHPackages © 2026

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