Automic VaultAutomic Vault

brew

Install phpstan with Homebrew, Nix

PHP Static Analysis Tool. Version 2.2.5 via Homebrew; verified 2026-07-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install phpstan

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#phpstan

nixpkgs package indexes · pkgs/by-name/ph/phpstan/package.nix · source: api.github.com

overview

Package summary

PHP Static Analysis Tool

Commands and aliases

  • phpstan

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for phpstan. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
./phpstan.neon./phpstan.neon.dist./phpstan.dist.neon./phpstan-baseline.neon

executables

Installed executables

CommandKindExposureNote
phpstancliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.2.5
manager updated2026-07-05
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/phpstan/phpstan

install metadata

Package metadata

Package keybrew:phpstan
Version2.2.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/phpstan
Homepagehttps://phpstan.org/
Repositoryhttps://github.com/phpstan/phpstan
Upstream docshttps://phpstan.org/user-guide
LicenseMIT
Source archivehttps://github.com/phpstan/phpstan/releases/download/2.2.5/phpstan.phar
Last updated2026-07-05T07:17:59Z
Pulseupdated
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

phpstan

nix profile install nixpkgs#phpstan
  • normalized package name match
  • Matched by: Phpstan
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ph/phpstan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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