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

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

palmtree/php-cs-fixer-config
============================

PHP CS Fixer config for Palmtree components

v2.1.1(2y ago)02.0k—0%17MITPHPPHP &gt;=7.4

Since Mar 29Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (11)Used By (17)

🌴 Palmtree PHP-CS-Fixer Config
==============================

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

PHP-CS-Fixer config for Palmtree components

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1

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

[](#installation)

Use composer to add the package to your dev dependencies:

```
composer require palmtree/php-cs-fixer-config --dev
```

```
"scripts": {
    "sniff": "vendor/bin/php-cs-fixer fix -v --dry-run --stop-on-violation --using-cache=no --diff --diff-format=udiff",
    "fix": "vendor/bin/php-cs-fixer fix --diff",
}
```

Usage
-----

[](#usage)

Create a `.php_cs.dist` file in your project's root directory. You can copy a typical config file from this repository if desired:

```
$ cp vendor/palmtree/php-cs-fixer-config/.php_cs.dist .
```

Add the following entries to your `.gitignore` file:

```
/.php_cs.cache
/.php_cs

```

Fixing Issues
-------------

[](#fixing-issues)

### Manually

[](#manually)

To fix issues manually, run the following command:

```
$ composer fix
```

To perform a dry run, run the following command:

```
$ composer sniff
```

### Pre-commit hook

[](#pre-commit-hook)

Run the following to have PHP-CS-Fixer run on changed files before every commit:

```
$ cp vendor/palmtree/php-cs-fixer-config/git-hooks/pre-commit .git/hooks/pre-commit
$ chmod +x .git/hooks/pre-commit
```

License
-------

[](#license)

Released under the [MIT license](LICENSE)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~188 days

Recently: every ~229 days

Total

10

Last Release

906d ago

Major Versions

v1.2.0 → v2.0.02021-08-18

PHP version history (2 changes)v1.1.0PHP &gt;=7.1

v2.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/93cd57de0c03bc08173bbe424ce641b70b1bb9421f8d8fd474a33409a0f1644d?d=identicon)[palmtree](/maintainers/palmtree)

---

Top Contributors

[![andyexeter](https://avatars.githubusercontent.com/u/6660584?v=4)](https://github.com/andyexeter "andyexeter (12 commits)")

### Embed Badge

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

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

###  Alternatives

[redaxo/php-cs-fixer-config

php-cs-fixer config for REDAXO

1091.3k7](/packages/redaxo-php-cs-fixer-config)[mollie/php-coding-standards

Contains PHP coding standards like rules for PHP-CS-Fixer that serves for purpose of standardization.

1863.1k](/packages/mollie-php-coding-standards)

PHPackages © 2026

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