# php-code-sniffer mit Homebrew, dnf installieren

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

## Installation

```sh
sudo av install brew:php-code-sniffer
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install php-code-sniffer
```

  Evidenz: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install php-pear-PHP-CodeSniffer
```

  Evidenz: Fedora Rawhide package metadata: php-pear-PHP-CodeSniffer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:php-code-sniffer
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/php-code-sniffer>
- **Version:** 4.0.1
- **Quellzusammenfassung:** Check coding standards in PHP, JavaScript and CSS
- **Homepage:** <https://github.com/PHPCSStandards/PHP_CodeSniffer>
- **Repository:** <https://github.com/PHPCSStandards/PHP_CodeSniffer>
- **Lizenz:** BSD-3-Clause
- **Quellarchiv:** <https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/4.0.1/phpcs.phar>
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- phpcbf (cli)
- phpcs (cli)
- phpcbf (Alias)
- phpcs (Alias)

## Abhängigkeiten

- php

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf all

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 4.0.1
- lokale Daten: OK
- Upstream-Repository: https://github.com/PHPCSStandards/PHP_CodeSniffer
- Info: No package-manager update timestamp was available.
- Info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

escape, surveillance, or offensive capability signal.

- **Geiger-Risiko:** red / mittel
- escape, surveillance, or offensive capability signal


## 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: ./.phpcs.xml, ./phpcs.xml, ./phpcs.xml.dist, ./ruleset.xml
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** php-code-sniffer
- **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

## Andere Paketmanager-Einträge

- dnf - php-pear-PHP-CodeSniffer - 4.0.1-3.fc45: installed executable or alias match | Fedora Rawhide package metadata: php-pear-PHP-CodeSniffer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | PHP coding standards enforcement tool | https://github.com/PHPCSStandards/PHP_CodeSniffer


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [php](https://pkg.so/de/brew/php/) - Runtime dependency declared by Homebrew.
- [precious](https://pkg.so/de/brew/precious/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting.
- [jslint4java](https://pkg.so/de/brew/jslint4java/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting.
- [prek](https://pkg.so/de/brew/prek/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [php-cs-fixer](https://pkg.so/de/brew/php-cs-fixer/) - Shares pkgdb curated category or tags: cli, code-quality, coding-standards, developer-tools, php.
- [jscpd](https://pkg.so/de/brew/jscpd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [pint](https://pkg.so/de/brew/pint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [codelimit](https://pkg.so/de/brew/codelimit/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [hello](https://pkg.so/de/brew/hello/) - Shares pkgdb curated category or tags: cli, coding-standards, developer-tools.
- [jslint](https://pkg.so/de/npm/jslint/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-quality, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/php-code-sniffer.yml](https://github.com/mxcl/pkgdb/blob/main/combined/php-code-sniffer.yml)


## Quellen

- 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
