PHPackages                             phpunit/php-invoker - 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. phpunit/php-invoker

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

phpunit/php-invoker
===================

Invoke callables with a timeout

7.0.0(3mo ago)1.3k540.0M—0.8%17[1 issues](https://github.com/sebastianbergmann/php-invoker/issues)[2 PRs](https://github.com/sebastianbergmann/php-invoker/pulls)20BSD-3-ClausePHPPHP &gt;=8.4CI passing

Since Sep 23Pushed today7 watchersCompare

[ Source](https://github.com/sebastianbergmann/php-invoker)[ Packagist](https://packagist.org/packages/phpunit/php-invoker)[ Docs](https://github.com/sebastianbergmann/php-invoker/)[ GitHub Sponsors](https://github.com/sebastianbergmann)[ Fund](https://liberapay.com/sebastianbergmann)[ RSS](/packages/phpunit-php-invoker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (22)Used By (20)

phpunit/php-invoker
===================

[](#phpunitphp-invoker)

[![Latest Stable Version](https://camo.githubusercontent.com/3221ff4f6b07978115503e5a1f67257fb906efb2c4ad5d99eaf53a60e5d89894/68747470733a2f2f706f7365722e707567782e6f72672f706870756e69742f7068702d696e766f6b65722f76)](https://packagist.org/packages/phpunit/php-invoker)[![CI Status](https://github.com/sebastianbergmann/php-invoker/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/php-invoker/actions)[![codecov](https://camo.githubusercontent.com/0a7907558af6bbebe178f5833afa1bb01dd961638da219b9cc1319c70453c5be/68747470733a2f2f636f6465636f762e696f2f67682f73656261737469616e626572676d616e6e2f7068702d696e766f6b65722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/sebastianbergmann/php-invoker)

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

[](#installation)

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

```
composer require phpunit/php-invoker

```

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 phpunit/php-invoker

```

###  Health Score

80

↑

ExcellentBetter than 100% of packages

Maintenance92

Actively maintained with recent releases

Popularity79

Solid adoption and visibility

Community40

Growing community involvement

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96% 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 ~244 days

Recently: every ~91 days

Total

21

Last Release

102d ago

Major Versions

4.0.0 → 5.0.02024-02-02

5.0.1 → 6.0.02025-02-07

4.0.x-dev → 5.0.x-dev2025-09-26

5.0.x-dev → 6.0.x-dev2025-12-31

6.0.x-dev → 7.0.02026-02-06

PHP version history (11 changes)1.1.1PHP &gt;=5.2.7

1.1.4PHP &gt;=5.3.3

2.0.0PHP ^7.1

3.0.0PHP ^7.3

3.0.2PHP ^7.3 || ^8.0

3.1.1PHP &gt;=7.3

2.0.x-devPHP &gt;=7.1

4.0.0PHP &gt;=8.1

5.0.0PHP &gt;=8.2

6.0.0PHP &gt;=8.3

7.0.0PHP &gt;=8.4

### 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 (381 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (8 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (3 commits)")[![bcremer](https://avatars.githubusercontent.com/u/55820?v=4)](https://github.com/bcremer "bcremer (2 commits)")[![ramonacat](https://avatars.githubusercontent.com/u/303398?v=4)](https://github.com/ramonacat "ramonacat (1 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (1 commits)")[![edorian](https://avatars.githubusercontent.com/u/247397?v=4)](https://github.com/edorian "edorian (1 commits)")

---

Tags

process

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpunit-php-invoker/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

78768.9M1.5k](/packages/phpstan-phpstan-symfony)

PHPackages © 2026

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