PHPackages                             digitalcz/coding-standard - 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. digitalcz/coding-standard

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

digitalcz/coding-standard
=========================

Coding standards used across projects developed by Digital Solutions teams.

v0.5.1(2mo ago)129.4k↓12.1%26MITPHPPHP &gt;=7.4CI passing

Since Jan 10Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/digitalcz/coding-standard)[ Packagist](https://packagist.org/packages/digitalcz/coding-standard)[ RSS](/packages/digitalcz-coding-standard/feed)WikiDiscussions 0.x Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (6)

Digital Solutions Coding Standard
=================================

[](#digital-solutions-coding-standard)

PHP coding standards library for Digital Solutions projects. Built on PHP\_CodeSniffer and Slevomat Coding Standard.

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

[](#installation)

```
composer require --dev digitalcz/coding-standard
```

Create `ruleset.xml` in your project root:

```

```

Usage
-----

[](#usage)

```
# Check code standards
vendor/bin/phpcs

# Auto-fix issues
vendor/bin/phpcbf
```

Key Features
------------

[](#key-features)

- PSR-12 compliance with strict additions
- 180 character line length
- Cyclomatic complexity max 25
- Modern PHP features required
- Doctrine/REST/OpenAPI annotation support

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

[](#development)

```
composer test        # Run tests
composer cs-check    # Check standards
composer cs-fix      # Fix standards
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.2% 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 ~113 days

Recently: every ~31 days

Total

11

Last Release

88d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cdd1a59b82ee65304942a9e50a35ed1628b43db456088c334e73f8e80db9237?d=identicon)[spajxo](/maintainers/spajxo)

![](https://avatars.githubusercontent.com/u/19805238?v=4)[DigitalCz](/maintainers/digitalcz)[@digitalcz](https://github.com/digitalcz)

---

Top Contributors

[![spajxo](https://avatars.githubusercontent.com/u/12384486?v=4)](https://github.com/spajxo "spajxo (33 commits)")[![libordan](https://avatars.githubusercontent.com/u/88707876?v=4)](https://github.com/libordan "libordan (10 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 commits)")[![DominikVisek](https://avatars.githubusercontent.com/u/23441710?v=4)](https://github.com/DominikVisek "DominikVisek (1 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")

---

Tags

phpcodesnifferCodestyle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/digitalcz-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/digitalcz-coding-standard/health.svg)](https://phpackages.com/packages/digitalcz-coding-standard)
```

###  Alternatives

[ninjify/coding-standard

Tuned &amp; very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.

13497.1k13](/packages/ninjify-coding-standard)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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