# Install phpbrew with Homebrew

Brew & manage PHP versions in pure PHP at HOME. Version 2.2.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:phpbrew
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install phpbrew
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:phpbrew
- **Package manager:** Homebrew
- **Version:** 2.2.0
- **Source summary:** Brew & manage PHP versions in pure PHP at HOME
- **Homepage:** <https://phpbrew.github.io/phpbrew>
- **Repository:** <https://github.com/phpbrew/phpbrew>
- **Last updated:** 2026-06-22T14:05:54-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- phpbrew (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: ~/.phpbrew/config.yaml, ~/.phpbrew/bashrc, ./.phpbrewrc

## Combined YAML source

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


## Sources

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