PHPackages                             stickee/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. stickee/php-cs-fixer-config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stickee/php-cs-fixer-config
===========================

stickee's PHP CS Fixer config

v3.0.2(4mo ago)215.7k↓19.4%[2 PRs](https://github.com/stickeeuk/php-cs-fixer-config/pulls)1MITPHPPHP ^8.3CI passing

Since Nov 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/stickeeuk/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/stickee/php-cs-fixer-config)[ RSS](/packages/stickee-php-cs-fixer-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (31)Used By (1)

stickee PHP CS Fixer config
===========================

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

Provides a [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) config for stickee projects.

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

[](#installation)

```
composer require --dev stickee/php-cs-fixer-config
cp vendor/stickee/php-cs-fixer-config/dist/.php-cs-fixer.php .php-cs-fixer.php
```

You must commit the `.php-cs-fixer.php` config file.

You must add `.php-cs-fixer.cache` to your `.gitignore` file.

Usage
-----

[](#usage)

```
vendor/bin/php-cs-fixer fix
```

### Overrides

[](#overrides)

You can override any of the rules or add your own by adding them to the `$overrideRules` array in the `.php-cs-fixer.php` file.

See [here](https://mlocati.github.io/php-cs-fixer-configurator) for a detailed description of available rules and their options.

#### Example

[](#example)

This has already been done for you with the `ordered_class_elements` rule which has been reset to the `PSR12` value of `use_traits` only.

This has been added to help PR reviewers see only what has been changed when linting your project and not elements that have been re-ordered.

Once you are happy that your project has been linted correctly you may remove this override to use the stickee settings for this rule which are stricter and order more elements.

### CI

[](#ci)

An example GitHub action file is included at `vendor/stickee/php-cs-fixer-config/dist/.github/workflows/php-cs-fixer.yaml`.

This will run PHP CS Fixer on PRs and new commits to those PRs.

Rules
-----

[](#rules)

The available RuleSets can be found at `vendor/stickee/php-cs-fixer-config/src/RuleSet/`.

You can probably \[ctrl\] + click the class in the `.php-cs-fixer.php` file to get to it in your editor.

### Web description (prettier)

[](#web-description-prettier)

You can use either  or  to see what the rules are doing.

### CLI description (faster)

[](#cli-description-faster)

Alternatively you can run `vendor/bin/php-cs-fixer describe `.

Credits
-------

[](#credits)

###

[](#httpsgithubcomvisual-craftphp-cs-fixer-config)

for inspiration on how to create a custom config for PHP CS Fixer since there's no built-in way to do it.

### stickeerehan

[](#stickeerehan)

for his earlier work on PHP Code Styles so I didn't have to start from scratch.

### The "supermarket mobiles" developers

[](#the-supermarket-mobiles-developers)

for reviewing the *many* PRs that finalised the rules that we use.

### The members of the #codestyle Slack channel

[](#the-members-of-the-codestyle-slack-channel)

for caring about code styles.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 69% 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

Every ~53 days

Recently: every ~89 days

Total

23

Last Release

120d ago

Major Versions

v1.1.1 → v2.0.02022-12-08

v1.1.2 → v2.0.12023-01-09

v2.9.1 → v3.0.02025-02-03

PHP version history (3 changes)v1.0.0PHP ^7.4|^8.1

v2.0.0PHP ^8.1

v2.4.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48593081?v=4)[Greg Pinnington](/maintainers/stickeegreg)[@stickeegreg](https://github.com/stickeegreg)

![](https://avatars.githubusercontent.com/u/17043581?v=4)[James Nestoruk](/maintainers/stickeejamesn)[@stickeejamesn](https://github.com/stickeejamesn)

![](https://www.gravatar.com/avatar/b48c05eff46af005b9fa5e924383921172dc8c0f7ec04e9005b2f07ad2f196ae?d=identicon)[stickeepaul](/maintainers/stickeepaul)

---

Top Contributors

[![stickeepaul](https://avatars.githubusercontent.com/u/46900932?v=4)](https://github.com/stickeepaul "stickeepaul (89 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (19 commits)")[![stickeeoliver](https://avatars.githubusercontent.com/u/77276885?v=4)](https://github.com/stickeeoliver "stickeeoliver (8 commits)")[![stickeegreg](https://avatars.githubusercontent.com/u/48593081?v=4)](https://github.com/stickeegreg "stickeegreg (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![oliverearl](https://avatars.githubusercontent.com/u/14837181?v=4)](https://github.com/oliverearl "oliverearl (3 commits)")[![stickeerehan](https://avatars.githubusercontent.com/u/41327712?v=4)](https://github.com/stickeerehan "stickeerehan (1 commits)")[![yurii-stickee-2023](https://avatars.githubusercontent.com/u/126063507?v=4)](https://github.com/yurii-stickee-2023 "yurii-stickee-2023 (1 commits)")

---

Tags

phpphp-cs-fixer

### Embed Badge

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

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

###  Alternatives

[kmlaravel/laravel-geographical-calculator

laravel package help you to implement geographical calculation, with With several algorithms that help you deal with coordinates

42677.2k2](/packages/kmlaravel-laravel-geographical-calculator)[jubeki/laravel-code-style

Combine Custom Fixers with the ruleset of Laravel Pint to fix your code style in Laravel Applications/Packages.

56521.7k8](/packages/jubeki-laravel-code-style)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[friendsoftypo3/kickstarter

Extension Kickstarter - Kickstart TYPO3 Extension

243.1k](/packages/friendsoftypo3-kickstarter)

PHPackages © 2026

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