# phpstan を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:phpstan
```

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

### macOS

- Homebrew (100%):

```sh
brew install phpstan
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#phpstan
```

  証拠: nixpkgs package indexes: pkgs/by-name/ph/phpstan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:phpstan
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/phpstan>
- **バージョン:** 2.2.7
- **ソース概要:** PHP Static Analysis Tool
- **ホームページ:** <https://phpstan.org/>
- **リポジトリ:** <https://github.com/phpstan/phpstan>
- **上流ドキュメント:** <https://phpstan.org/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/phpstan/phpstan/releases/download/2.2.7/phpstan.phar>
- **最終更新:** 2026-07-29T19:57:02Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- phpstan (cli)
- phpstan (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.2.7
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/phpstan/phpstan
- 情報: No cached GitHub release or tag data was available.

## セキュリティノート

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



## 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: ./phpstan.neon, ./phpstan.neon.dist, ./phpstan.dist.neon, ./phpstan-baseline.neon
## ソースデータベース詳細

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

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

- Nix - phpstan: normalized package name match | nixpkgs package indexes: pkgs/by-name/ph/phpstan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [psalm](https://pkg.so/ja/brew/psalm/) - Shares pkgdb curated category or tags: cli, developer-tools, php, static-analysis, type-checking.
- [eslint](https://pkg.so/ja/brew/eslint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pylint](https://pkg.so/ja/brew/pylint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pmd](https://pkg.so/ja/brew/pmd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [checkstyle](https://pkg.so/ja/brew/checkstyle/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [luacheck](https://pkg.so/ja/brew/luacheck/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pyscn](https://pkg.so/ja/brew/pyscn/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [detekt](https://pkg.so/ja/brew/detekt/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [credo](https://pkg.so/ja/brew/credo/) - Local package facts share a topical domain. Shared terms: analysis, cli, code, code-quality, developer.

## Combined YAML source

View the package source record on GitHub. [combined/phpstan.yml](https://github.com/mxcl/pkgdb/blob/main/combined/phpstan.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
- external package-manager database matches
- cross-ecosystem install command graph
