# Install php-cs-fixer with Homebrew, dnf, zypper

Tool to automatically fix PHP coding standards issues. Version 3.95.17 via Homebrew; verified 2026-07-24. Also installable with dnf: sudo dnf install php-cs-fixer.

## Install

```sh
sudo av install brew:php-cs-fixer
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install php-cs-fixer
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install php-cs-fixer
```

  Evidence: Fedora Rawhide package metadata: php-cs-fixer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install php-cs-fixer
```

  Evidence: openSUSE Tumbleweed package metadata: php-cs-fixer from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:php-cs-fixer
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/php-cs-fixer>
- **Version:** 3.95.17
- **Source summary:** Tool to automatically fix PHP coding standards issues
- **Homepage:** <https://cs.symfony.com/>
- **Repository:** <https://github.com/PHP-CS-Fixer/PHP-CS-Fixer>
- **Upstream docs:** <https://cs.symfony.com/doc>
- **License:** MIT
- **Source archive:** <https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/download/v3.95.17/php-cs-fixer.phar>
- **Last updated:** 2026-07-24T17:00:36Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- php-cs-fixer (cli)
- php-cs-fixer (alias)

## Dependencies

- php

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 3.95.17
- Package-manager updated: 2026-07-24
- Local data: ok
- Upstream repository: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for php-cs-fixer. Nucleus package metadata is still published here so future coverage has a stable package 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: ./.php-cs-fixer.php, ./.php-cs-fixer.dist.php
## Source Database Details

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

## Other Package-Manager Records

- dnf - php-cs-fixer - 3.95.5-1.fc45: normalized package name match | Fedora Rawhide package metadata: php-cs-fixer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | PHP Coding Standards Fixer | https://github.com/FriendsOfPHP/PHP-CS-Fixer
- zypper - php-cs-fixer - 3.13.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: php-cs-fixer from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | PHP Coding Standards Fixer | https://cs.symfony.com/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [php](https://www.automicvault.com/pkg/brew/php/) - Runtime dependency declared by Homebrew.
- [ormolu](https://www.automicvault.com/pkg/brew/ormolu/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [perltidy](https://www.automicvault.com/pkg/brew/perltidy/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [reorder-python-imports](https://www.automicvault.com/pkg/brew/reorder-python-imports/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [cppi](https://www.automicvault.com/pkg/brew/cppi/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [darker](https://www.automicvault.com/pkg/brew/darker/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [djhtml](https://www.automicvault.com/pkg/brew/djhtml/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [findent](https://www.automicvault.com/pkg/brew/findent/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [ktfmt](https://www.automicvault.com/pkg/brew/ktfmt/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [php-code-sniffer](https://www.automicvault.com/pkg/brew/php-code-sniffer/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-quality, coding, coding-standards.

## Combined YAML source

View the package source record on GitHub. [combined/php-cs-fixer.yml](https://github.com/automic-vault/db/blob/main/combined/php-cs-fixer.yml)


## Sources

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