Automic VaultAutomic Vault

brew

mago を Homebrew, Nix, winget でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install mago

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#mago

nixpkgs package indexes · pkgs/by-name/ma/mago/package.nix · ソース: api.github.com

Windows

Windows Package Manager確認済み · 92%
winget install --id CarthageSoftware.Mago -e

Windows Package Manager source index · CarthageSoftware.Mago · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Toolchain for PHP to help developers write better code

コマンドとエイリアス

  • mago

履歴

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

Mago is a Rust-written PHP toolchain that combines static analysis, linting, formatting, and guard-style checks in one binary. It targets PHP projects that want faster local and CI feedback without installing a PHP runtime for the tool itself.

プロジェクトの歴史

The public GitHub repository was created in October 2024. The documentation brands Mago as an oxidized PHP toolchain and describes three core tools in one binary: analyzer, linter, and formatter.

By 2025 the project had a long beta release train toward 1.0, and by mid-2026 the documentation showed a latest 1.42.0 version. The docs also show configuration discovery, schema publishing for editors, project version pinning, self-update behavior, and WebAssembly playground support.

採用の歴史

Mago's adoption is still young, but its packaging story is already broad for a PHP developer tool. Official docs list installation through the Carthage shell installer, Composer, Homebrew, Cargo, and Docker, while the supplied Homebrew input also lists Nix and winget packages.

The project has several thousand GitHub stars and more than a hundred forks, which is notable for a relatively new PHP toolchain and reflects interest in Rust-based replacements or complements for PHPStan, Psalm, PHP-CS-Fixer, and formatters.

使われ方

The standard workflow is to install Mago, run `mago init` in a PHP project, and then run `mago analyze`, `mago lint`, or `mago fmt`. The official docs say initialization detects project layout and writes `mago.toml`.

Mago discovers configuration from the workspace, `$XDG_CONFIG_HOME`, `~/.config`, and the home directory, looking for `mago` and `mago.dist` files in TOML, YAML, YML, or JSON formats. It also publishes JSON schemas so editors and CI can validate configuration.

パッケージ好きにとっての重要性

Mago is package-nerd significant because it compresses several familiar PHP QA tools into one Rust binary. That changes packaging ergonomics: package managers can offer static analysis, linting, formatting, shell completions, schemas, and update workflows as a single install.

Its version-pinning and schema model are especially relevant to maintainers because code-formatting and lint behavior must be reproducible across local machines, CI, and editor integrations.

タイムライン

  • 2024: Public GitHub repository created.
  • 2025: 1.0.0 beta releases published.
  • 2026: Documentation shows the 1.42.0 stable line.
  • 2026: Benchmarks and playground are promoted in official docs.

Related projects

  • PHPStan, Psalm, Phan, PHP-CS-Fixer, and Pretty PHP are adjacent PHP analysis, linting, and formatting tools referenced or benchmarked against in Mago's documentation.
  • Composer, Homebrew, Cargo, Docker, Nix, and winget are relevant distribution channels for the toolchain.

セキュリティ状態

保護ツール対応はまだ見つかっていません

mago に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

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

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
mago.toml
Windows
mago.toml

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-08
マネージャ版1.43.0
マネージャ更新日2026-07-05
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/carthage-software/mago

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:mago
バージョン1.43.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/mago
ホームページhttps://github.com/carthage-software/mago
リポジトリhttps://github.com/carthage-software/mago
上流ドキュメントhttps://mago.carthage.software/
ライセンスApache-2.0 OR MIT
ソースアーカイブhttps://github.com/carthage-software/mago/releases/download/1.43.0/source-code.tar.gz
最終更新2026-07-05T16:20:06Z
Pulseupdated
ビルド依存関係pkgconf, rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

mago

nix profile install nixpkgs#mago
  • normalized package name match
  • 一致条件: Mago
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mago/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

CarthageSoftware.Mago

winget install --id CarthageSoftware.Mago -e
  • normalized package name match
  • 一致条件: Mago
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: CarthageSoftware.Mago from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment