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

Abandoned → [traderinteractive/coding-standard](/?search=traderinteractive%2Fcoding-standard)Library[PSR &amp; Standards](/categories/psr-standards)

dominionenterprises/dws-coding-standard
=======================================

DWS Coding standard

v2.1.0(8y ago)852.2k↓41%10[14 issues](https://github.com/traderinteractive/dws-coding-standard/issues)MITPHPPHP ^5.6 || ^7.0CI failing

Since Apr 17Pushed 4y ago12 watchersCompare

[ Source](https://github.com/traderinteractive/dws-coding-standard)[ Packagist](https://packagist.org/packages/dominionenterprises/dws-coding-standard)[ RSS](/packages/dominionenterprises-dws-coding-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (14)Used By (0)

DWS Coding Standard
===================

[](#dws-coding-standard)

[![Build Status](https://camo.githubusercontent.com/ebb8dc03aafc40296857415f10443fad265bbeef6e54394e24a644fbda953645/68747470733a2f2f7472617669732d63692e6f72672f747261646572696e7465726163746976652f6477732d636f64696e672d7374616e646172642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/traderinteractive/dws-coding-standard)[![Coverage Status](https://camo.githubusercontent.com/3a4f5f1c4f35164f97e75664c7d61532dda250640649266042b93e20f7fc9047/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f747261646572696e7465726163746976652f6477732d636f64696e672d7374616e646172642f62616467652e737667)](https://coveralls.io/github/traderinteractive/dws-coding-standard)

[![Latest Stable Version](https://camo.githubusercontent.com/f2649b357c71755402280330446200f779d924a45817914e73622c75e1ea722a/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636f64696e672d7374616e646172642f762f737461626c65)](https://packagist.org/packages/traderinteractive/coding-standard)[![Latest Unstable Version](https://camo.githubusercontent.com/7ca5280464c92e8cf7195c142b5940e89011adae1f635ba9857e7064c978edbb/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636f64696e672d7374616e646172642f762f756e737461626c65)](https://packagist.org/packages/traderinteractive/coding-standard)[![License](https://camo.githubusercontent.com/fad2c4c7afd83dc09f62218ea339994344dc24a0a50c2f9924ea2d08369f2ed6/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636f64696e672d7374616e646172642f6c6963656e7365)](https://packagist.org/packages/traderinteractive/coding-standard)

[![Total Downloads](https://camo.githubusercontent.com/feffd532a1456b5061199ae8130f70b6c651681228ee95614b4aaf1a692dab08/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636f64696e672d7374616e646172642f646f776e6c6f616473)](https://packagist.org/packages/traderinteractive/coding-standard)[![Daily Downloads](https://camo.githubusercontent.com/d94f7f2092715e47a906bfd7b3c3015538582d246324d9e352c5bc4b44c13df6/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636f64696e672d7374616e646172642f642f6461696c79)](https://packagist.org/packages/traderinteractive/coding-standard)[![Monthly Downloads](https://camo.githubusercontent.com/10e628a0ca444763a99751406331ce452e24d49572ae845d29bd3d26f72770b6/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636f64696e672d7374616e646172642f642f6d6f6e74686c79)](https://packagist.org/packages/traderinteractive/coding-standard)

A fairly complete [PHP\_CodeSniffer](http://www.squizlabs.com/php-codesniffer) coding standard. See the [standard document](standard.md) to see what "sniffs" are enforced.

Composer
--------

[](#composer)

This standard is meant to be used in a project using [Composer](http://getcomposer.org). It can be added to your project's composer.json as follows:

```
composer require traderinteractive/coding-standard
```

Then to use it, you can run the following (or add to your build process):

```
./vendor/bin/phpcs --standard=$(pwd)/vendor/traderinteractive/coding-standard/DWS YOUR_FILES_AND_DIRECTORIES
```

Contact
-------

[](#contact)

Developers may be contacted at:

- [Pull Requests](https://github.com/traderinteractive/dws-coding-standard/pulls)
- [Issues](https://github.com/traderinteractive/dws-coding-standard/issues)

Tests
-----

[](#tests)

Tests for the sniffs are included, and are run using the included build:

```
./vendor/bin/phpunit
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 51.7% 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 ~148 days

Recently: every ~380 days

Total

13

Last Release

2996d ago

Major Versions

v0.3.5 → v1.0.02013-05-21

v1.4.0 → v2.0.02016-08-03

PHP version history (3 changes)v0.3.5PHP &gt;=5.3.2

v2.0.0PHP ~5.6 || ~7.0

v2.1.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29952359?v=4)[Trader Interactive](/maintainers/traderinteractive)[@traderinteractive](https://github.com/traderinteractive)

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (31 commits)")[![guywithnose](https://avatars.githubusercontent.com/u/1059169?v=4)](https://github.com/guywithnose "guywithnose (15 commits)")[![nubs](https://avatars.githubusercontent.com/u/57673?v=4)](https://github.com/nubs "nubs (7 commits)")[![chrisryan](https://avatars.githubusercontent.com/u/704326?v=4)](https://github.com/chrisryan "chrisryan (5 commits)")[![raybot](https://avatars.githubusercontent.com/u/1583780?v=4)](https://github.com/raybot "raybot (2 commits)")

---

Tags

phpcsstandardcoding

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phpcompatibility/php-compatibility

A set of sniffs for PHP\_CodeSniffer that checks for PHP cross-version compatibility.

2.3k74.3M1.3k](/packages/phpcompatibility-php-compatibility)[automattic/vipwpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions

25510.2M145](/packages/automattic-vipwpcs)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k94](/packages/consistence-coding-standard)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[suin/phpcs-psr4-sniff

PHP\_CodeSniffer sniff that checks class name matches PSR-4 project structure.

271.7M16](/packages/suin-phpcs-psr4-sniff)

PHPackages © 2026

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