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 3w ago

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 41% 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

2296d 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

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M188](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M129](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[laravel/folio

Page based routing for Laravel.

603583.7k33](/packages/laravel-folio)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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