PHPackages                             becklyn/php-cs - 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. becklyn/php-cs

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

becklyn/php-cs
==============

Config files for PHP code style

19(3y ago)431.0k↓35.5%11BSD-3-ClausePHPPHP &gt;=8.1

Since Jul 30Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Becklyn/php-cs)[ Packagist](https://packagist.org/packages/becklyn/php-cs)[ Docs](https://github.com/Becklyn/PHP-Code-Style)[ RSS](/packages/becklyn-php-cs/feed)WikiDiscussions release Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (56)Used By (1)

PHP Code Style Checker
======================

[](#php-code-style-checker)

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

[](#installation)

Installation should be done via the [composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin).

```
composer bin test require --dev becklyn/php-cs
```

Now run your tools like this:

Usage
-----

[](#usage)

### PHP CS Fixer

[](#php-cs-fixer)

```
./vendor/bin/php-cs-fixer fix --dry-run --diff --config vendor-bin/test/vendor/becklyn/php-cs/.php_cs.dist.php
./vendor/bin/phpstan -c vendor-bin/test/vendor/becklyn/php-cs/phpstan/lib.neon
```

### Composer Normalize

[](#composer-normalize)

Composer normalize needs the [composer `normalize` plugin](https://packagist.org/packages/localheinz/composer-normalize).

Versioning
==========

[](#versioning)

This package doesn't use semantic versioning, but it always releases a major version.

Main Branch Naming
==================

[](#main-branch-naming)

Normally, in Becklyn's repositories, we use versioned branches (`1.x`, `2.x`), but here it doesn't make sense as every update implies a new major version.

So the main branch is just called `release`, as that's where all releases are coming from.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~29 days

Recently: every ~101 days

Total

55

Last Release

1253d ago

Major Versions

1.6.1 → 2.0.02019-11-06

2.0.3 → 3.0.02019-11-25

PHP version history (4 changes)1.0.0PHP ^7.1

12PHP ^7.1 || ^8.0

16PHP &gt;=7.4

19PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1044355?v=4)[Becklyn Studios](/maintainers/becklyn)[@Becklyn](https://github.com/Becklyn)

---

Top Contributors

[![msvujnovic-becklyn](https://avatars.githubusercontent.com/u/74408165?v=4)](https://github.com/msvujnovic-becklyn "msvujnovic-becklyn (5 commits)")[![apfelbox](https://avatars.githubusercontent.com/u/1032411?v=4)](https://github.com/apfelbox "apfelbox (3 commits)")[![keichinger](https://avatars.githubusercontent.com/u/439899?v=4)](https://github.com/keichinger "keichinger (3 commits)")[![mangoischke](https://avatars.githubusercontent.com/u/22484446?v=4)](https://github.com/mangoischke "mangoischke (1 commits)")[![Thyrannoizer](https://avatars.githubusercontent.com/u/29758676?v=4)](https://github.com/Thyrannoizer "Thyrannoizer (1 commits)")[![tkasper](https://avatars.githubusercontent.com/u/1580938?v=4)](https://github.com/tkasper "tkasper (1 commits)")

---

Tags

code-stylecsphpphp-cs-fixerphpstan

### Embed Badge

![Health badge](/badges/becklyn-php-cs/health.svg)

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

###  Alternatives

[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87578.8k35](/packages/ticketswap-phpstan-error-formatter)

PHPackages © 2026

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