PHPackages                             ob-ivan/diversitest - 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. ob-ivan/diversitest

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

ob-ivan/diversitest
===================

Run tests against varying dependencies versions

v0.6.2(5y ago)3357[12 issues](https://github.com/ob-ivan/diversitest/issues)PHPCI failing

Since Feb 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ob-ivan/diversitest)[ Packagist](https://packagist.org/packages/ob-ivan/diversitest)[ RSS](/packages/ob-ivan-diversitest/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (12)Used By (0)

DiversiTest
===========

[](#diversitest)

Run your tests on a spectre of dependencies' versions.

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

[](#installation)

Add it as a composer dependency:

```
composer require ob-ivan/diversitest

```

Configuration
-------------

[](#configuration)

In your project root create a file named `diversitest.yaml` like follows:

```
package_manager: 'composer require $package $version'
test_runner: 'vendor/bin/phpunit'
packages:
    dependency_name_1:
        - ^1.2
        - ~2.0.3
    dependency_name_2:
        - ^3.3
        - ^4.0
```

In the `package_manager` line enter the command for installing packages with designated versions. In the `test_runner`line enter the command for running your test suite.

Under the `packages` line list all packages whose versions you want to vary. List the versions as a simple array.

Running
-------

[](#running)

After you've installed `diversitest` and provided a config file, run it with this command:

```
vendor/bin/diversitest

```

This will copy your working directory to a temporary folder, then for each combination of package versions you listed it will run the command from `package_manager` key followed by the command from `test_runner` key.

The output is sent to your display. It's up to you to handle it.

Running with an alternative PHP executable
------------------------------------------

[](#running-with-an-alternative-php-executable)

If your PHP executable is not `php` but something like `php7.4`, you can run the `diversitest` likes this:

```
php7.4 vendor/bin/diversitest

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Recently: every ~299 days

Total

10

Last Release

1848d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1832804?v=4)[ob-ivan](/maintainers/ob-ivan)[@ob-ivan](https://github.com/ob-ivan)

---

Top Contributors

[![ob-ivan](https://avatars.githubusercontent.com/u/1832804?v=4)](https://github.com/ob-ivan "ob-ivan (171 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ob-ivan-diversitest/health.svg)

```
[![Health](https://phpackages.com/badges/ob-ivan-diversitest/health.svg)](https://phpackages.com/packages/ob-ivan-diversitest)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

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