# Install phpunit with Homebrew, apk, apt, dnf, Nix

Programmer-oriented testing framework for PHP. Version 13.2.3 via Homebrew; verified 2026-07-06.

## Install

```sh
sudo av install brew:phpunit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install phpunit
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add phpunit
```

  Evidence: Alpine Linux edge package indexes: phpunit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install phpunit
```

  Evidence: Debian stable package indexes: phpunit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install phpunit10
```

  Evidence: Fedora Rawhide package metadata: phpunit10 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#phpunit
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ph/phpunit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:phpunit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/phpunit>
- **Version:** 13.2.3
- **Source summary:** Programmer-oriented testing framework for PHP
- **Homepage:** <https://phpunit.de>
- **Repository:** <https://github.com/sebastianbergmann/phpunit>
- **Upstream docs:** <https://docs.phpunit.de/>
- **License:** BSD-3-Clause
- **Source archive:** <https://phar.phpunit.de/phpunit-13.2.3.phar>
- **Last updated:** 2026-07-06T15:53:23Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- phpunit (cli)
- phpunit (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 13.2.3
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://phpunit.de
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for phpunit. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

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.


## Configuration files

- Unix: ./phpunit.xml, ./phpunit.xml.dist
## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Debian apt - phpunit - 11.5.19-1+deb13u1: normalized package name match | Debian stable package indexes: phpunit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unit testing suite for PHP | https://phpunit.de/
- Nix - phpunit: normalized package name match | nixpkgs package indexes: pkgs/by-name/ph/phpunit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - phpunit - 9.6.17-1: normalized package name match | Ubuntu 24.04 LTS package indexes: phpunit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Unit testing suite for PHP | https://phpunit.de/
- apk - phpunit - 11.5.55-r0: normalized package name match | Alpine Linux edge package indexes: phpunit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The PHP Unit Testing framework | https://phpunit.de/
- dnf - phpunit10 - 10.5.63-1.fc44: normalized package name match | Fedora Rawhide package metadata: phpunit10 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The PHP Unit Testing framework version 10 | https://github.com/sebastianbergmann/phpunit
- dnf - phpunit13 - 13.1.14-1.fc45: normalized package name match | Fedora Rawhide package metadata: phpunit13 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The PHP Unit Testing framework version 13 | https://github.com/sebastianbergmann/phpunit
- dnf - phpunit8 - 8.5.52-1.fc44: normalized package name match | Fedora Rawhide package metadata: phpunit8 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The PHP Unit Testing framework version 8 | https://github.com/sebastianbergmann/phpunit
- dnf - phpunit9 - 9.6.34-1.fc44: normalized package name match | Fedora Rawhide package metadata: phpunit9 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The PHP Unit Testing framework version 9 | https://github.com/sebastianbergmann/phpunit


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [busted](https://www.automicvault.com/pkg/brew/busted/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [cxxtest](https://www.automicvault.com/pkg/brew/cxxtest/) - Shares av.db curated category or tags: cli, developer-tools, test-framework, testing, unit-testing.
- [kyua](https://www.automicvault.com/pkg/brew/kyua/) - Shares av.db curated category or tags: cli, developer-tools, test-framework, testing.
- [pytest](https://www.automicvault.com/pkg/brew/pytest/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [shunit2](https://www.automicvault.com/pkg/brew/shunit2/) - Shares av.db curated category or tags: cli, developer-tools, test-framework, testing, unit-testing.
- [allure](https://www.automicvault.com/pkg/brew/allure/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [artillery](https://www.automicvault.com/pkg/brew/artillery/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [bzt](https://www.automicvault.com/pkg/brew/bzt/) - Shares av.db curated category or tags: cli, developer-tools, testing.

## Combined YAML source

View the package source record on GitHub. [combined/phpunit.yml](https://github.com/automic-vault/db/blob/main/combined/phpunit.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
