PHPackages                             nanasess/phpunit48 - 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. nanasess/phpunit48

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

nanasess/phpunit48
==================

The PHP Unit Testing framework.

4.8.41(5y ago)0578BSD-3-ClausePHPPHP &gt;=5.3.3

Since Aug 7Pushed 3y agoCompare

[ Source](https://github.com/nanasess/phpunit48)[ Packagist](https://packagist.org/packages/nanasess/phpunit48)[ Docs](https://phpunit.de/)[ RSS](/packages/nanasess-phpunit48/feed)WikiDiscussions experimental Synced 1w ago

READMEChangelog (1)Dependencies (13)Versions (58)Used By (0)

PHPUnit48
=========

[](#phpunit48)

[![Latest Stable Version](https://camo.githubusercontent.com/9c9f33d64f7eebc9d7655cad37e590b706f43384cec5e9f49dcaee1b8df1fdcb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70687035667269656e64732f706870756e697434382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php5friends/phpunit48)[![Minimum PHP Version](https://camo.githubusercontent.com/ff4d2453d8c631fdc01fa4e87f9e20462349b51a27e59b856915702d7715fddd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e332e332d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/supported-versions.php)[![CI](https://github.com/php5friends/phpunit48/actions/workflows/ci.yml/badge.svg)](https://github.com/php5friends/phpunit48/actions/workflows/ci.yml)

**PHPUnit48** is a variant of [PHPUnit](https://phpunit.de/). The purpose of this project is to make PHPUnit 4.8 compatible with the new PHP and to make it compatible with PHPUnit 6.

PHPUnit is an advanced product, but it is out of old PHP versions. But unit testing is an important technique for migrating old projects to new versions. This project bridges PHP 5.x to **PHP 7 and PHPUnit 6**.

> PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

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

[](#installation)

You may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies.

```
$ cd path/to/your/php-project
$ composer require --dev php5friends/phpunit48
```

Contribute
----------

[](#contribute)

Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/.github/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects.

List of Contributors
--------------------

[](#list-of-contributors)

Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:

- [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors)
- [PHP\_CodeCoverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)
- [PHPUnit\_MockObject](https://github.com/sebastianbergmann/phpunit-mock-objects/graphs/contributors)

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:

- [PHPUnit Documentation](https://github.com/sebastianbergmann/phpunit-documentation/graphs/contributors)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 84.1% 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 ~41 days

Recently: every ~268 days

Total

43

Last Release

2181d ago

PHP version history (2 changes)4.8.0PHP &gt;=5.3.3

4.8.20PHP ~5.3.3|~5.4|~5.5|~5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2faa579847aa7f6045f80f897a15978403c8a3e0c1198f3d1ff72e32989309b?d=identicon)[nanasess](/maintainers/nanasess)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (4988 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (393 commits)")[![edorian](https://avatars.githubusercontent.com/u/247397?v=4)](https://github.com/edorian "edorian (224 commits)")[![mlively](https://avatars.githubusercontent.com/u/176150?v=4)](https://github.com/mlively "mlively (46 commits)")[![nanasess](https://avatars.githubusercontent.com/u/815715?v=4)](https://github.com/nanasess "nanasess (36 commits)")[![marcioAlmada](https://avatars.githubusercontent.com/u/227395?v=4)](https://github.com/marcioAlmada "marcioAlmada (27 commits)")[![sun](https://avatars.githubusercontent.com/u/41992?v=4)](https://github.com/sun "sun (25 commits)")[![tobyS](https://avatars.githubusercontent.com/u/187140?v=4)](https://github.com/tobyS "tobyS (24 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (22 commits)")[![giorgiosironi](https://avatars.githubusercontent.com/u/160299?v=4)](https://github.com/giorgiosironi "giorgiosironi (22 commits)")[![LawnGnome](https://avatars.githubusercontent.com/u/229984?v=4)](https://github.com/LawnGnome "LawnGnome (14 commits)")[![rybakit](https://avatars.githubusercontent.com/u/533861?v=4)](https://github.com/rybakit "rybakit (10 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (10 commits)")[![hpbuniat](https://avatars.githubusercontent.com/u/214626?v=4)](https://github.com/hpbuniat "hpbuniat (8 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (8 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (7 commits)")[![theseer](https://avatars.githubusercontent.com/u/111333?v=4)](https://github.com/theseer "theseer (7 commits)")[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (6 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (6 commits)")[![keradus](https://avatars.githubusercontent.com/u/2716794?v=4)](https://github.com/keradus "keradus (6 commits)")

---

Tags

testingphpunitxunit

### Embed Badge

![Health badge](/badges/nanasess-phpunit48/health.svg)

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

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[phpunit/php-code-coverage

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

8.9k892.4M1.5k](/packages/phpunit-php-code-coverage)

PHPackages © 2026

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