PHPackages                             rorymcdaniel/php-cs-fixer-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. rorymcdaniel/php-cs-fixer-config

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

rorymcdaniel/php-cs-fixer-config
================================

PSR12 config for php-cs-fixer

v1.0.0(5y ago)05PHP

Since Sep 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rorymcdaniel/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/rorymcdaniel/php-cs-fixer-config)[ RSS](/packages/rorymcdaniel-php-cs-fixer-config/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

PHP CS Fixer Config
===================

[](#php-cs-fixer-config)

This config file was created to match as closely as possible the [PSR-12](https://www.php-fig.org/psr/psr-12/) standard since at present, [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) does not yet have a preset for PSR-12.

Installation
------------

[](#installation)

`composer require --dev rorymcdaniel/php-cs-config`

CLI Usage
---------

[](#cli-usage)

`php-cs-fixer --config=vendor/rorymcdaniel/php-cs-fixer-config/.php_cs.php --verbose fix path/to/files`

Creating a PHPStorm File Watcher
--------------------------------

[](#creating-a-phpstorm-file-watcher)

- Install PHP-CS-Fixer `brew install php-cs-fixer`
- Preferences -&gt; Tools -&gt; File Watchers
- Click the + at the bottom and choose Custom template
- Name: `php-cs-fixer` (or whatever you like, this is just a label)
- File Type: PHP
- Scope: Current File (this prevents it from changing files you are not working on)
- Program: `/usr/local/bin/php-cs-fixer`
- Arguments: `--config=$ProjectFileDir$/vendor/rorymcdaniel/php-cs-fixer-config/.php_cs.php --verbose fix $FileDir$/$FileName$`
- Output paths to refresh: `$FileDir$/$FileName$`
- Expand Working Directory and Environment Variables
- Working Directory: `$ProjectFileDir$`
- Advanced options: only check `Trigger the watcher on external changes`
- Click OK to save
- Make sure the checkbox for `Enabled` is checked PHP-CS-Fixer will now run on your code any time you save.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2052d ago

Major Versions

v0.1.0 → v1.0.02020-09-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/846e22f12b52ece29666d004384b67a83e139d3a784b6425c450e536eaf4399a?d=identicon)[rorymcdaniel](/maintainers/rorymcdaniel)

### Embed Badge

![Health badge](/badges/rorymcdaniel-php-cs-fixer-config/health.svg)

```
[![Health](https://phpackages.com/badges/rorymcdaniel-php-cs-fixer-config/health.svg)](https://phpackages.com/packages/rorymcdaniel-php-cs-fixer-config)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
