pkg.soopen package index

brew / 順位 4123

phpbrew を Homebrew でインストール

phpbrew のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install phpbrew

local Homebrew formula metadata

概要

パッケージ概要

Brew & manage PHP versions in pure PHP at HOME

コマンドとエイリアス

  • phpbrew

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • Early project: Yo-An Lin created PHPBrew as a pure-PHP tool for managing locally built PHP versions.
  • PHP 5 era: The documented workflow supported old PHP releases, compile variants, PECL extensions, Apache modules, and PHP-FPM.
  • Current project: PHPBrew remains available as a Homebrew formula and through its official PHAR releases.

Related projects

  • PHP source releases are the runtimes PHPBrew builds.
  • PECL supplies many extensions handled by PHPBrew’s extension commands.
  • Homebrew and MacPorts prefixes can be detected when resolving build dependencies.

ソース

  • Official documentation: https://phpbrew.github.io/phpbrew
  • Official wiki: https://github.com/phpbrew/phpbrew/wiki
  • source_facts.package-manager

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.phpbrew/config.yaml~/.phpbrew/bashrc./.phpbrewrc

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
phpbrewcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-09-19
マネージャ版2.2.0
マネージャ更新日2026-09-11
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係php@8.4
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namephpbrew
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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