macOS
brew install phpunitlocal Homebrew formula metadata
brew / rank 1735
Programmer-oriented testing framework for PHP. Version 13.4.6 via Homebrew; verified 2026-11-02. Also installable with debian: sudo apt install phpunit.
install
brew install phpunitlocal Homebrew formula metadata
sudo apk add phpunitAlpine Linux edge package indexes · phpunit · source: dl-cdn.alpinelinux.org
sudo apt install phpunitDebian stable package indexes · phpunit · source: deb.debian.org
nix profile install nixpkgs#phpunitnixpkgs package indexes · pkgs/by-name/ph/phpunit/package.nix · source: api.github.com
sudo dnf install phpunit13Fedora Rawhide package metadata · phpunit13 · source: dl.fedoraproject.org
overview
Programmer-oriented testing framework for PHP
history
PHPUnit is Sebastian Bergmann's programmer-oriented testing framework and command-line test runner for PHP.
Sebastian Bergmann created PHPUnit in 2001. It was initially developed in PHP's CVS and released through PEAR, moved to the project's Subversion server in 2006, and moved to GitHub in 2009. PEAR ceased being the preferred installation mechanism as Composer and signed PHAR releases became the normal choices.
PHPUnit became the standard xUnit-style testing foundation for PHP projects and is described by its maintainer as the ecosystem's most widely used testing framework. Its distribution shifted from PEAR toward project-local Composer dependencies and signed PHAR archives as PHP packaging conventions changed.
Developers write test case classes and assertions, organize them into suites, and invoke a project-local `phpunit` command. XML configuration defines suites and runner behavior; Composer or a signed PHAR is preferred over a global operating-system package.
PHPUnit tracks the evolution of PHP packaging itself: development began in PHP's CVS, releases moved through PEAR and a project-hosted Subversion repository, and source development later moved to GitHub. Modern users must deliberately match PHPUnit and PHP generations, which makes project-local dependency management especially important.
security posture
No matching local secret-handling manifest was found for phpunit. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./phpunit.xml./phpunit.xml.distexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
phpunit | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:phpunit |
|---|---|
| Version | 13.4.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/phpunit |
| Homepage | https://phpunit.de |
| Upstream docs | https://phpunit.de |
| License | BSD-3-Clause |
| Source archive | https://phar.phpunit.de/phpunit-13.4.6.phar |
| Last updated | 2026-11-02T08:46:11Z |
| Pulse | updated |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | phpunit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
phpunit 11.5.19-1+deb13u1
Unit testing suite for PHP
sudo apt install phpunitphpunit
nix profile install nixpkgs#phpunitphpunit 9.6.17-1
Unit testing suite for PHP
sudo apt install phpunitphpunit 11.5.55-r0
The PHP Unit Testing framework
sudo apk add phpunitphpunit13 13.3.2-1.fc46
The PHP Unit Testing framework version 13
https://github.com/sebastianbergmann/phpunit
sudo dnf install phpunit13source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.