PHPackages                             esler/phpunit-graceful-interrupt - 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. esler/phpunit-graceful-interrupt

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

esler/phpunit-graceful-interrupt
================================

Allow gracefully interrupt running PHPUnit tests

13.2(1w ago)078.3k↑142.9%1MITPHP

Since Feb 13Pushed 1w ago1 watchersCompare

[ Source](https://github.com/esler/phpunit-graceful-interrupt)[ Packagist](https://packagist.org/packages/esler/phpunit-graceful-interrupt)[ Docs](https://github.com/esler/phpunit-graceful-interrupt)[ RSS](/packages/esler-phpunit-graceful-interrupt/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

Description
-----------

[](#description)

A simple plug-in which allows to you interrupt running PHPUnit tests **gracefully**.

Instalation
-----------

[](#instalation)

```
composer require --dev esler/phpunit-graceful-interrupt
```

#### For PHPUnit &gt;= 10

[](#for-phpunit--10)

```
Add extension to your `phpunit.xml`

```

#### For PHPUnit &lt; 10

[](#for-phpunit--10-1)

Add listener to your `phpunit.xml`

```

```

Usage
-----

[](#usage)

Just hit `Ctrl+\` to interrupt running tests. Errors and failures from previous tests will be shown.

More [info](https://github.com/esler/phpunit-graceful-interrupt/wiki).

License
-------

[](#license)

MIT

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance98

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~263 days

Recently: every ~269 days

Total

14

Last Release

11d ago

Major Versions

v2.1 → v3.02020-06-29

v2.2 → 10.02023-03-01

10.0.2 → 11.02024-06-20

11.0 → 12.02025-08-18

12.0 → 13.02026-06-03

PHP version history (2 changes)v0.9PHP &gt;=5.3.0

v1.0PHP ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2031969?v=4)[Ondřej Ešler](/maintainers/esler)[@esler](https://github.com/esler)

---

Top Contributors

[![esler](https://avatars.githubusercontent.com/u/2031969?v=4)](https://github.com/esler "esler (14 commits)")[![janpalacky](https://avatars.githubusercontent.com/u/7532973?v=4)](https://github.com/janpalacky "janpalacky (1 commits)")

---

Tags

phpunitphpunit-extensionphpunit-listenerphpunit-testsphpunitgracefulinterrupt

### Embed Badge

![Health badge](/badges/esler-phpunit-graceful-interrupt/health.svg)

```
[![Health](https://phpackages.com/badges/esler-phpunit-graceful-interrupt/health.svg)](https://phpackages.com/packages/esler-phpunit-graceful-interrupt)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k136.1M986](/packages/brianium-paratest)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.8M640](/packages/spatie-phpunit-snapshot-assertions)[lchrusciel/api-test-case

Perfect PHPUnit TestCase for JSON/XML API TDD with Symfony.

4125.9M75](/packages/lchrusciel-api-test-case)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1499.9M107](/packages/ergebnis-phpunit-slow-test-detector)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M344](/packages/drupal-core-dev)[allure-framework/allure-phpunit

Allure PHPUnit integration

6913.4M46](/packages/allure-framework-allure-phpunit)

PHPackages © 2026

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