PHPackages                             willwashburn/phpunit-port-canary - 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. willwashburn/phpunit-port-canary

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

willwashburn/phpunit-port-canary
================================

Find tests that are making external requests

v0.0.1(9y ago)0278MITPHP

Since May 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/willwashburn/phpunit-port-canary)[ Packagist](https://packagist.org/packages/willwashburn/phpunit-port-canary)[ RSS](/packages/willwashburn-phpunit-port-canary/feed)WikiDiscussions master Synced 2w ago

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

phpunit-port-canary [![Packagist](https://camo.githubusercontent.com/cdba41170589cd3aa4a17a4d8469342e5dd18656ec3fe1fe0a7cc8a12dab9488/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696c6c776173686275726e2f706870756e69742d706f72742d63616e6172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/willwashburn/phpunit-port-canary/stats) [![Packagist](https://camo.githubusercontent.com/7085b55a83e2d06c95c519b1608552a31623f08062a79a32fca97a187023d4b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696c6c776173686275726e2f706870756e69742d706f72742d63616e6172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/willwashburn/phpunit-port-canary) [![MIT License](https://camo.githubusercontent.com/c8b0b48469bd862b2ed79e2a83dc6ec8ce99f91638c61f7935f473bcbb6598e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77696c6c776173686275726e2f706870756e69742d706f72742d63616e6172792e7376673f7374796c653d666c61742d737175617265)](https://github.com/willwashburn/phpunit-port-canary/blob/master/license.txt)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#phpunit-port-canary---)

🐦 Find tests that are making external requests

Why
---

[](#why)

Not all tests are written perfectly. This library intends to help you spot when your phpunit tests are making requests across ports when you don't want them to.

> Note: This is in a super alpha bootleg version. Try it out, but.. uh, no promises.

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

[](#installation)

```
composer require willwashburn/phpunit-port-canary

```

Alternatively, add `"willwashburn/phpunit-port-canary": "0.0.1"` to your composer.json

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

[](#configuration)

Add this to your phpunit.xml

```

```

Change Log
----------

[](#change-log)

- v0.0.2 - Prettier Reporting
- v0.0.1 - MVP bootleg version

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

3324d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/957608?v=4)[Will Washburn](/maintainers/willwashburn)[@willwashburn](https://github.com/willwashburn)

---

Top Contributors

[![willwashburn](https://avatars.githubusercontent.com/u/957608?v=4)](https://github.com/willwashburn "willwashburn (2 commits)")

---

Tags

phpunitphpunit-listener

### Embed Badge

![Health badge](/badges/willwashburn-phpunit-port-canary/health.svg)

```
[![Health](https://phpackages.com/badges/willwashburn-phpunit-port-canary/health.svg)](https://phpackages.com/packages/willwashburn-phpunit-port-canary)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k129.9M916](/packages/brianium-paratest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M39.0k](/packages/orchestra-testbench)[drupal/core-dev

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

2022.0M322](/packages/drupal-core-dev)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

30300.1k6](/packages/webmozarts-strict-phpunit)

PHPackages © 2026

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