pkg.soopen package index

brew / rang 960

Installer periphery avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de periphery pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install periphery

local Homebrew formula metadata

Linux

Nixvérifié · 92%
nix profile install nixpkgs#periphery

nixpkgs package indexes · pkgs/by-name/pe/periphery/package.nix · Source: api.github.com

aperçu

Résumé du paquet

Identify unused code in Swift projects

Commandes et alias

  • periphery

historique

Historique du projet et usages

Periphery is an archived open-source command-line analyzer that identifies unused declarations in Swift projects by combining build index data with source analysis.

Historique du projet

Periphery was developed as an open-source Swift static-analysis tool centered on Xcode and Swift Package Manager projects. Its changelog identifies version 1.3.0 in February 2019 as the first open-source release.

The scanner evolved from syntax-oriented analysis toward index-store-based whole-project analysis, adding configuration persistence, CI reuse of existing builds, Bazel support, and handling for newer Swift and Xcode constructs.

The last documented release before archival was in the 3.8 series in July 2026. The official GitHub repository was archived the following month.

Historique d'adoption

Periphery was adopted in iOS, macOS, and Swift package maintenance as a focused way to detect declarations that compile but are no longer reachable. Its support for Xcode, Swift Package Manager, Bazel, local command-line use, and continuous integration made it practical across several Swift build workflows.

Official Homebrew support was added in 2019. In December 2024 the project moved from its custom Homebrew tap into Homebrew's main formula collection. The upstream repository was archived and made read-only on 12 August 2026.

Modes d'utilisation

Run `periphery scan --setup` for guided initial configuration, then persist established options in `.periphery.yml` at the project root and use `periphery scan` for repeatable analysis.

Periphery builds projects to generate an index store, or CI can reuse a previous build with `--skip-build` and `--index-store-path`. All relevant targets must be built to reduce false positives; standalone frameworks may require `--retain-public`.

Pourquoi les passionnés de paquets s'y intéressent

Periphery fills a narrow gap between compiler diagnostics and general linting: it builds or consumes an index store, constructs a declaration-reference graph, and searches that graph for unused code across project targets.

Its archived status is operationally important to package users. Existing releases remain useful, but adopters should account for the absence of ongoing upstream maintenance when new Swift, Xcode, or project-file formats appear.

Chronologie

  • 2019: Version 1.3.0 is identified as the first open-source release.
  • 2019: Official Homebrew installation support is added.
  • 2021: Guided setup gains support for saving `.periphery.yml`.
  • 2024: Periphery moves from its custom tap into Homebrew's main formula collection.
  • 2026: Version 3.8.0 is released in July.
  • 2026: The upstream repository is archived on 12 August.

Related projects

  • SwiftLint enforces Swift style and conventions, while SwiftFormat rewrites Swift source into a consistent format. Both address different code-quality concerns from Periphery's unused-code reachability analysis.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 5 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des 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
.periphery.yml

exécutables

Exécutables installés

CommandeTypeExpositionNote
peripherycliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-11-04
version du gestionnaire3.8.0
gestionnaire mis à jour2026-09-16
données localesOK
amontà jour
dernière version détectée3.8.0

https://github.com/peripheryapp/periphery

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:periphery
Version3.8.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/periphery
Page d'accueilhttps://github.com/peripheryapp/periphery
Dépôthttps://github.com/peripheryapp/periphery
LicenceMIT
Archive sourcehttps://github.com/peripheryapp/periphery/archive/refs/tags/3.8.0.tar.gz
Dernière mise à jour2026-09-16T13:21:41Z
Pulseupdated
Bibliothèques fournies par macOScurl, libxml2, swift
Bouteilledisponible (sur arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameperiphery
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

periphery

nix profile install nixpkgs#periphery
  • normalized package name match
  • Correspondance par : Periphery
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pe/periphery/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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