PHPackages                             dejwcake/php-code-style - 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. dejwcake/php-code-style

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

dejwcake/php-code-style
=======================

Code style for php applications and libraries based on Slevomat Rules.

v2.2.1(5mo ago)094MITPHP ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

Since Oct 28Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/dejwCake/php-code-style)[ Packagist](https://packagist.org/packages/dejwcake/php-code-style)[ RSS](/packages/dejwcake-php-code-style/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

PHP coding standard
===================

[](#php-coding-standard)

This repository contains rules for coding standard for PHP projects.

Usage
-----

[](#usage)

Create `.phpcs.xml` file in your project and extend `base.phpcs.xml`. Base configuration contains base rules which can be extended in your project.

Development
-----------

[](#development)

Run Composer in Docker (no local PHP/Composer needed):

```
docker run --rm -it \
  -u "$(id -u):$(id -g)" \
  -v "$PWD":/app \
  -w /app \
  composer:2 update
```

Notes:

- For local development only; in CI/CD prefer reproducible installs (composer install) rather than updates.
- If your local PHP version differs from the target platform, you may temporarily use `--ignore-platform-reqs`, but avoid committing such changes without verifying compatibility.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance72

Regular maintenance activity

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity72

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

Recently: every ~237 days

Total

7

Last Release

158d ago

Major Versions

v1.0.0 → v2.0.02023-05-06

PHP version history (4 changes)v1.0.0PHP ^8.0

v2.0.0PHP ^8.0 || ^8.1 || ^8.2

v2.1.0PHP ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

v2.2.0PHP ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/7587c47435caa968be9a652630c6c0c91abacb43dfa001b02cbe5b892672cd7e?d=identicon)[dejwCake](/maintainers/dejwCake)

---

Top Contributors

[![dejwCake](https://avatars.githubusercontent.com/u/22255647?v=4)](https://github.com/dejwCake "dejwCake (2 commits)")

### Embed Badge

![Health badge](/badges/dejwcake-php-code-style/health.svg)

```
[![Health](https://phpackages.com/badges/dejwcake-php-code-style/health.svg)](https://phpackages.com/packages/dejwcake-php-code-style)
```

###  Alternatives

[worksome/coding-style

Worksomes coding style

49771.7k57](/packages/worksome-coding-style)[laminas/laminas-coding-standard

Laminas Coding Standard

331.7M534](/packages/laminas-laminas-coding-standard)[nette/coding-standard

41930.0k15](/packages/nette-coding-standard)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[mrm-commerce/magento-coding-standard-phpcs

MRM Commerce PHP Code Sniffer Coding Standard designed for Magento 2 applications

4751.2k](/packages/mrm-commerce-magento-coding-standard-phpcs)[genealabs/php-coding-standards

1654.8k1](/packages/genealabs-php-coding-standards)

PHPackages © 2026

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