macOS
brew install phpbrewlocal Homebrew formula metadata
安装
brew install phpbrewlocal Homebrew formula metadata
概览
Brew & manage PHP versions in pure PHP at HOME
历史
PHPBrew is a PHP version and build manager that installs multiple PHP runtimes under a user-controlled directory and switches between them from the shell.
PHPBrew was created by Yo-An Lin, with Márcio Almada also credited by the official documentation. It is implemented in PHP and was designed to build and manage multiple PHP versions without requiring system-wide installation.
PHPBrew follows the language-version-manager pattern popularized in developer tooling: versions are installed beneath the user’s home directory and can be selected per shell. Homebrew distributes the PHPBrew command itself, while PHPBrew compiles the requested PHP runtimes.
Users initialize shell integration with `phpbrew init`, build a runtime with `phpbrew install`, and select versions with `phpbrew use` or `phpbrew switch`. Additional commands install extensions, edit php.ini, and manage PHP-FPM.
PHPBrew appeals to package-oriented developers because it makes PHP build variants explicit and reproducible at the command line. Its variant system can combine database, debugging, web-server, and extension options while accommodating dependency prefixes from Homebrew, MacPorts, Debian, and Ubuntu.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.phpbrew/config.yaml~/.phpbrew/bashrc./.phpbrewrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
phpbrew | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/phpbrew/phpbrew
安装元数据
| 软件包键 | brew:phpbrew |
|---|---|
| 版本 | 2.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/phpbrew |
| 主页 | 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-09-11T12:46:31Z |
| Pulse | updated |
| 依赖 | php@8.4 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.