pkg.soopen package index

brew / Rang 1868

phpstan mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für phpstan in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install phpstan

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#phpstan

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

Überblick

Paketzusammenfassung

PHP Static Analysis Tool

Befehle und Aliase

  • phpstan

Verlauf

Projektgeschichte und Nutzung

PHPStan is a static analyzer for PHP that infers types and reports potential defects without running the analyzed application.

Projektgeschichte

Ondřej Mirtes first released PHPStan in 2016 as a static analyzer focused on finding PHP bugs without executing the program. A dedicated documentation site followed in 2020, version 1.0 marked six years of development in 2021, and version 2.0 expanded the rule-level model in 2024.

Adoptionsgeschichte

PHPStan's graduated rule levels let teams introduce analysis incrementally, while baselines let established codebases enforce stricter checks on new work without first repairing every historical finding. Composer installation and a library of framework-specific extensions fit normal PHP project workflows.

Wie es verwendet wird

Projects commonly install PHPStan as a Composer development dependency, run `analyse` against source and test directories, and choose a rule level from 0 through 10. NEON configuration controls paths and behavior, while a generated baseline can suppress existing findings during gradual adoption.

Warum Paket-Nerds sich dafür interessieren

PHPStan helped make whole-program static analysis a routine PHP development dependency. Package-oriented users care about its self-contained PHAR, Composer distribution, NEON configuration, extension ecosystem, and explicit compatibility between analyzer, PHP language, and framework versions.

Zeitleiste

  • 2016: First public release.
  • 2020: Dedicated PHPStan documentation website launched.
  • 2021: PHPStan 1.0 released after six years of development.
  • 2024: PHPStan 2.0 introduced level 10 and further type-system improvements.

Related projects

  • Composer is the recommended installation path and enables PHPStan extensions.
  • Framework and library extensions supply more precise type information and rules.
  • PHPStan Pro provides a web interface for browsing findings, including baselined errors.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für phpstan wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Installierte Executables

BefehlArtSichtbarkeitHinweis
phpstancliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-11-04
Manager-Version2.3.4
Manager aktualisiert2026-11-03
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/phpstan/phpstan

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:phpstan
Version2.3.4
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/phpstan
Homepagehttps://phpstan.org/
Repositoryhttps://github.com/phpstan/phpstan
Upstream-Dokumentationhttps://phpstan.org/
LizenzMIT
Quellarchivhttps://github.com/phpstan/phpstan/releases/download/2.3.5/phpstan.phar
Zuletzt aktualisiert2026-11-03T14:54:37Z
Pulseupdated
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

phpstan

nix profile install nixpkgs#phpstan
  • normalized package name match
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • 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
  • pkg.so package database
  • pkgdb category and tag curation