macOS
brew install php-cs-fixerlocal Homebrew formula metadata
brew / rank 1407
Tool to automatically fix PHP coding standards issues. Version 3.95.27 via Homebrew; verified 2026-09-22. Also installable with dnf: sudo dnf install php-cs-fixer.
install
brew install php-cs-fixerlocal Homebrew formula metadata
sudo dnf install php-cs-fixerFedora Rawhide package metadata · php-cs-fixer · source: dl.fedoraproject.org
sudo zypper install php-cs-fixeropenSUSE Tumbleweed package metadata · php-cs-fixer · source: download.opensuse.org
overview
Tool to automatically fix PHP coding standards issues
history
PHP CS Fixer is a command-line formatter and modernization tool that detects and rewrites PHP code to satisfy selected coding-style rules.
PHP CS Fixer grew in the Symfony ecosystem as an automated response to repetitive coding-style corrections. The official site credits Symfony creator Fabien Potencier and Dariusz Rumiński and carries Sensio Labs copyright dating from 2010 onward.
The project developed an extensive catalog of atomic fixers, named rule sets, dry-run and diff-oriented CI workflows, and migration rules for newer PHP and PHPUnit idioms. It is now maintained in the dedicated PHP-CS-Fixer GitHub organization.
PHP CS Fixer became a common Composer-era project tool: teams install it as a development dependency, commit a shared executable PHP configuration, and run checks or fixes locally and in continuous integration.
Support for PHP-FIG, Symfony, migration, and project-defined rule sets broadened its role from whitespace normalization to repeatable coding-style enforcement and opt-in source modernization.
Projects normally commit `.php-cs-fixer.dist.php` as shared configuration; an optional `.php-cs-fixer.php` supplies local overrides and takes precedence.
The `fix` command rewrites files, while `check` or dry-run/diff workflows enforce style in CI. Path selection, caching, parallel execution, and explicit risky-rule controls support both focused and repository-wide runs.
Its configuration is executable PHP, allowing projects to compose rules, file discovery, parallelism, risky-fixer policy, and environment-specific overrides in code.
The official documentation recommends project-local Composer installation so every contributor and CI job uses the version expected by the repository.
security posture
No matching local secret-handling manifest was found for php-cs-fixer. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
./.php-cs-fixer.php./.php-cs-fixer.dist.phpexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
php-cs-fixer | cli | global executable |
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.
https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
install metadata
| Package key | brew:php-cs-fixer |
|---|---|
| Version | 3.95.27 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/php-cs-fixer |
| Homepage | https://cs.symfony.com/ |
| Repository | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer |
| Upstream docs | https://cs.symfony.com/ |
| License | MIT |
| Source archive | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/download/v3.95.27/php-cs-fixer.phar |
| Last updated | 2026-09-22T12:11:45Z |
| Pulse | updated |
| Dependencies | php |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
php-cs-fixer 3.95.23-1.fc46
PHP Coding Standards Fixer
https://github.com/FriendsOfPHP/PHP-CS-Fixer
sudo dnf install php-cs-fixerphp-cs-fixer 3.13.0-1.8
PHP Coding Standards Fixer
sudo zypper install php-cs-fixersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.