# 使用 Homebrew 安装 phpbrew

查看 phpbrew 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install phpbrew
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:phpbrew
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/phpbrew>
- **版本:** 2.2.0
- **来源摘要:** Brew & manage PHP versions in pure PHP at HOME
- **主页:** <https://phpbrew.github.io/phpbrew>
- **仓库:** <https://github.com/phpbrew/phpbrew>
- **上游文档:** <https://phpbrew.github.io/phpbrew>
- **许可证:** MIT
- **源码归档:** <https://github.com/phpbrew/phpbrew/releases/download/2.2.0/phpbrew.phar>
- **最后更新:** 2026-06-22T14:05:54-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- phpbrew (cli)
- phpbrew (别名)

## 依赖

- php@8.4

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.2.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/phpbrew/phpbrew
- 信息: No cached GitHub release or tag data was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** phpbrew
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [php@8.4](https://pkg.so/zh-hans/brew/php-8-4/) - Runtime dependency declared by Homebrew.
- [asdf](https://pkg.so/zh-hans/brew/asdf/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [juliaup](https://pkg.so/zh-hans/brew/juliaup/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [bob](https://pkg.so/zh-hans/brew/bob/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [luaver](https://pkg.so/zh-hans/brew/luaver/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [scalaenv](https://pkg.so/zh-hans/brew/scalaenv/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [nave](https://pkg.so/zh-hans/brew/nave/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [ry](https://pkg.so/zh-hans/brew/ry/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [rbenv](https://pkg.so/zh-hans/brew/rbenv/) - Shares pkgdb curated category or tags: cli, developer-tools, development-environment, version-manager.
- [goenv](https://pkg.so/zh-hans/brew/goenv/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, development-environment.
- [nodebrew](https://pkg.so/zh-hans/brew/nodebrew/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, development-environment.

## Combined YAML source

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


## 来源

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