PHPackages                             sebastian/version-requirement - 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. sebastian/version-requirement

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

sebastian/version-requirement
=============================

Library for working with version requirements

061↑2654.1%[2 issues](https://github.com/sebastianbergmann/version-requirement/issues)PHPCI passing

Since Jun 20Pushed todayCompare

[ Source](https://github.com/sebastianbergmann/version-requirement)[ Packagist](https://packagist.org/packages/sebastian/version-requirement)[ RSS](/packages/sebastian-version-requirement/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/b1561932569ade00993d2061e8b0f093ff6f1681fd5bb25110e75edbc3d7afd4/68747470733a2f2f706f7365722e707567782e6f72672f73656261737469616e2f76657273696f6e2d726571756972656d656e742f76)](https://packagist.org/packages/sebastian/version-requirement)[![CI Status](https://github.com/sebastianbergmann/version-requirement/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/version-requirement/actions)[![codecov](https://camo.githubusercontent.com/441b57e3af81cb397a145f729631ca94ac6e85bb4267995064949f6e68a7a23c/68747470733a2f2f636f6465636f762e696f2f67682f73656261737469616e626572676d616e6e2f76657273696f6e2d726571756972656d656e742f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/sebastianbergmann/version-requirement)

sebastian/version-requirement
=============================

[](#sebastianversion-requirement)

Library for working with version requirements, extracted from `phpunit/phpunit`.

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require sebastian/version-requirement

```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev sebastian/version-requirement

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance65

Regular maintenance activity

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 73.3% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1089?v=4)[Sebastian Probst Eide](/maintainers/sebastian)[@sebastian](https://github.com/sebastian)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (11 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (4 commits)")

### Embed Badge

![Health badge](/badges/sebastian-version-requirement/health.svg)

```
[![Health](https://phpackages.com/badges/sebastian-version-requirement/health.svg)](https://phpackages.com/packages/sebastian-version-requirement)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M340](/packages/dms-phpunit-arraysubset-asserts)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3524.1M38](/packages/jasonmccreary-laravel-test-assertions)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8219.1M69](/packages/orchestra-workbench)[roquie/laravel-dusk-select2

Select2.js support for the Laravel Dusk testing.

41356.2k5](/packages/roquie-laravel-dusk-select2)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8111.5k2](/packages/phpbenchmark-phpbenchmark)[kunicmarko/graphql-test

GraphQL Test Cases

1359.0k](/packages/kunicmarko-graphql-test)

PHPackages © 2026

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