PHPackages                             erikgall/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. erikgall/php-cs-fixer-config

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

erikgall/php-cs-fixer-config
============================

FriendsOfPHP/PHP-CS-Fixer configuration.

v1.0.0(6y ago)381MITPHPCI failing

Since Mar 19Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

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

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

This package contains the `PHP-CS-Fixer` configuration that I use on all projects. It is best used with a Laravel application (but can be used very easily w/ any PHP project -- copy the `.php_cs` in the root directory to your project after installing via Composer).

I have spent a lot of time building of this configuration file over the years. Feel free to open up a PR if you think a new rule should be added to the configuration.

Install the package
-------------------

[](#install-the-package)

```
composer require erikgall/php-cs-fixer-config
```

Commands / Usage
----------------

[](#commands--usage)

### Running Install Command (Laravel)

[](#running-install-command-laravel)

```
php artisan fixer:install
```

### Running Fix Command (Laravel)

[](#running-fix-command-laravel)

```
php artisan fix
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

2241d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44d0a5db4aa44c040bcdd2d07a5a4e894f02fc08a11140e2282ac7d080d113f6?d=identicon)[erikgall](/maintainers/erikgall)

---

Top Contributors

[![erikgall](https://avatars.githubusercontent.com/u/8866568?v=4)](https://github.com/erikgall "erikgall (11 commits)")

---

Tags

laravellinterphp-cs-fixerphp-cs-fixer-configphp-cs-fixer-rulesetphp-linter

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M682](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M596](/packages/laravel-ui)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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