PHPackages                             rebib/example-php-package-with-phpunit - 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. rebib/example-php-package-with-phpunit

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

rebib/example-php-package-with-phpunit
======================================

example php package with phpunit

1.0.0(6y ago)02mitPHPPHP ^7.2CI failing

Since Oct 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rebib/phpunit-test-example)[ Packagist](https://packagist.org/packages/rebib/example-php-package-with-phpunit)[ RSS](/packages/rebib-example-php-package-with-phpunit/feed)WikiDiscussions master Synced 6d ago

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

PHP package with PHPUnit test example
=====================================

[](#php-package-with-phpunit-test-example)

Execute
-------

[](#execute)

```
$ composer test
```

```
$ ./vendor/bin/phpunit --bootstrap vendor/autoload.php
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2392d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/068eee7be2ce6caa6a52aff1e8b20e9d347fa62b0dfd6343d7292285770b10dc?d=identicon)[rebib](/maintainers/rebib)

---

Top Contributors

[![zhao-xinyou](https://avatars.githubusercontent.com/u/4452790?v=4)](https://github.com/zhao-xinyou "zhao-xinyou (3 commits)")

---

Tags

phpunitexample

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rebib-example-php-package-with-phpunit/health.svg)

```
[![Health](https://phpackages.com/badges/rebib-example-php-package-with-phpunit/health.svg)](https://phpackages.com/packages/rebib-example-php-package-with-phpunit)
```

###  Alternatives

[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k8.8M397](/packages/codedungeon-phpunit-result-printer)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69417.9M510](/packages/spatie-phpunit-snapshot-assertions)[matthiasnoback/symfony-dependency-injection-test

Library for testing user classes related to the Symfony Dependency Injection Component

2439.0M887](/packages/matthiasnoback-symfony-dependency-injection-test)[lmc/steward

Steward - makes Selenium WebDriver + PHPUnit testing easy and robust

222163.1k1](/packages/lmc-steward)[ttn/tea

TYPO3 example extension for unit testing and best practices

9121.5k](/packages/ttn-tea)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)

PHPackages © 2026

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