# Install phpunit

Programmer-oriented testing framework for PHP. Version 13.2.0 via Homebrew; verified 2026-06-05.

## 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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 URL:** <https://formulae.brew.sh/formula/phpunit>
- **Version:** 13.2.0
- **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.0.phar>
- **Last updated:** 2026-06-05T04:39:22Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- phpunit (cli)
- phpunit (alias)

## Install Behavior

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

## Freshness

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

## セキュリティノート

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | The PHP Unit Testing framework version 10 | https://github.com/sebastianbergmann/phpunit
- dnf - phpunit13 - 13.1.11-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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | The PHP Unit Testing framework version 9 | https://github.com/sebastianbergmann/phpunit


## Related Links

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

## Sources

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