PHPackages                             arty/php-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. [Testing &amp; Quality](/categories/testing)
4. /
5. arty/php-coding-standard

ActivePhpcodesniffer-standard[Testing &amp; Quality](/categories/testing)

arty/php-coding-standard
========================

Static analysis tools config for PHP projects, by arty.

v3.0.0(2mo ago)3281[5 PRs](https://github.com/ArthurJCQ/php-coding-standard/pulls)1MITPHPPHP ^8.4CI passing

Since Jan 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ArthurJCQ/php-coding-standard)[ Packagist](https://packagist.org/packages/arty/php-coding-standard)[ RSS](/packages/arty-php-coding-standard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (20)Versions (16)Used By (1)

Arty Coding Style
=================

[](#arty-coding-style)

This is the coding style tools config I use everyday on my projects.

it includes :

- PHPCS for code sniffing.
- PHPStan for static bug finding into code.
- PHPAt as phpstan extension for architecture validation

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

[](#installation)

Installation with composer :

```
composer require arty/php-coding-standard --dev
```

Usage
-----

[](#usage)

### PHPCS

[](#phpcs)

In your project, create a `phpcs.xml` file and fill it up with :

```

```

Run it with :

```
$ ./vendor/bin/phpcs src
```

### PHPStan

[](#phpstan)

In your project, create a `phpstan.neon` file and fill it up with :

```
includes:
    - vendor/arty/php-coding-standard/lib/phpstan/phpstan.neon
```

Run it with :

```
$ ./vendor/bin/phpstan analyse --level=max src
```

### PHPAT

[](#phpat)

Validate Architecture.

A minimal Clean Architecture validation is provided, activate it by adding this to your phpstan.neon:

```
services:
    -
        class: ArtyCodingStandard\PHPAt\CleanArchitectureTest
        tags:
            - phpat.test
```

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance86

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 71.1% 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 ~110 days

Recently: every ~192 days

Total

8

Last Release

72d ago

Major Versions

v1.0.4 → v2.0.02025-10-25

v2.1.0 → v3.0.02026-03-07

PHP version history (3 changes)v1.0.0PHP ^8.2

v1.0.2PHP ^8.3

v2.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c33dcbbb873c354254ea28a9dacc8e67c22f592bdcab9c237682dab185a850f?d=identicon)[Artysan](/maintainers/Artysan)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (27 commits)")[![ArthurJCQ](https://avatars.githubusercontent.com/u/24383925?v=4)](https://github.com/ArthurJCQ "ArthurJCQ (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)

PHPackages © 2026

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