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

Programmer-oriented testing framework for PHP. Version 13.2.6 via Homebrew; verified 2026-07-28. Also installable with debian: sudo apt install phpunit.

## 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

- 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

- dnf (92%):

```sh
sudo dnf install phpunit13
```

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

## Package facts

- **Package key:** brew:phpunit
- **Package manager:** Homebrew
- **Version:** 13.2.6
- **Source summary:** Programmer-oriented testing framework for PHP
- **Homepage:** <https://phpunit.de>
- **Last updated:** 2026-07-28T15:50:41Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- phpunit (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 13.2.6

## 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
## 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 - phpunit13 - 13.2.6-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The PHP Unit Testing framework version 13 | https://github.com/sebastianbergmann/phpunit


## Combined YAML source

View the package source record on GitHub. [combined/phpunit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/phpunit.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
