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

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

backdevs/coding-standard
========================

Backdevs PHP\_CodeSniffer Coding Standard and other static analysis tools' configurations.

1.0.1(5mo ago)1129↓75%MITPHPPHP ^8.3CI passing

Since Aug 26Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/backdevs/php-coding-standard)[ Packagist](https://packagist.org/packages/backdevs/coding-standard)[ RSS](/packages/backdevs-coding-standard/feed)WikiDiscussions main Synced yesterday

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

Backdevs' PHP Coding Standard
=============================

[](#backdevs-php-coding-standard)

A [PHP\_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) coding standard and other static analysis tools configuration files for Backdevs' PHP projects.

Included default configurations
-------------------------------

[](#included-default-configurations)

- [PHP\_CodeSniffer](./phpcs/phpcs.xml)
- [PHP Mess Detector](./phpmd/phpmd.xml)

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

[](#installation)

Composer:

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

Usage
-----

[](#usage)

### PHP\_CodeSniffer:

[](#php_codesniffer)

In your project's `phpcs.xml` file add the following line:

```

```

If you don't have a `phpcs.xml` file, here's an example for a Laravel project:

```

    Backdevs Coding Standard.

    app
    bootstrap
    config
    database
    routes
    tests

    cache/*

```

Now you should be able to run:

```
vendor/bin/phpcs
```

### PHP Mess Detector:

[](#php-mess-detector)

If you don't have the `phpmd/phpmd` package installed, you can install it by running:

```
composer require --dev phpmd/phpmd
```

Then, in your project's `phpmd.xml` file add the following line:

```

```

If you don't have a `phpmd.xml` file, here's a simple example:

```

    Backdevs Coding Standard.

```

Now you can run:

```
vendor/bin/phpmd app,bootstrap,config,database,routes,tests text phpmd.xml
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance71

Regular maintenance activity

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~511 days

Total

2

Last Release

165d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9194446?v=4)[Bogdan](/maintainers/bogdannbv)[@bogdannbv](https://github.com/bogdannbv)

---

Top Contributors

[![bogdannbv](https://avatars.githubusercontent.com/u/9194446?v=4)](https://github.com/bogdannbv "bogdannbv (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

coding-standardphpphp8

### Embed Badge

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

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

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k134.0M2.3k](/packages/slevomat-coding-standard)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

225.0M35](/packages/acquia-coding-standards)[youwe/testing-suite

Contains Youwe's default testing packages for php.

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

PHPackages © 2026

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