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

ActiveLibrary

phpantastic/coding-standard
===========================

PHPantastic coding standard

1.0(6y ago)061[1 PRs](https://github.com/phpantastic/coding-standard/pulls)MIT

Since Mar 29Pushed 6y agoCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHPantastic Coding Standard
===========================

[](#phpantastic-coding-standard)

Repository with all coding standard ruleset for PHPantastic repositories.

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

[](#installation)

1. Install the module via composer by running:

    ```
    $ composer require --dev phpantastic/coding-standard
    ```
2. Add composer scripts into your `composer.json`:

    ```
    "scripts": {
      "cs-check": "phpcs",
      "cs-fix": "phpcbf"
    }
    ```
3. Create file `phpcs.xml` on base path of your repository with content:

    ```

        config
        src
        test

    ```

You can add or exclude some locations in that file. For a reference please see: [https://github.com/squizlabs/PHP\_CodeSniffer/wiki/Annotated-ruleset.xml](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml)

Usage
-----

[](#usage)

- To run checks only:

    ```
    $ composer cs-check
    ```
- To automatically fix many CS issues:

    ```
    $ composer cs-fix
    ```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2241d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eadbae798ea0b158c8ed16105c6133186eaa0757df928f6718cf7ab79b79f55d?d=identicon)[gennadiy](/maintainers/gennadiy)

---

Top Contributors

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

---

Tags

Coding Standard

### Embed Badge

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

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

###  Alternatives

[escapestudios/symfony2-coding-standard

CodeSniffer ruleset for the Symfony 2+ coding standard

40611.1M275](/packages/escapestudios-symfony2-coding-standard)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k94](/packages/consistence-coding-standard)[laminas/laminas-coding-standard

Laminas Coding Standard

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

Webimpress Coding Standard

142.1M37](/packages/webimpress-coding-standard)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)[mreduar/laravel-phpcs

PHP Codesniffer ruleset to follow Laravel's coding style

3817.3k1](/packages/mreduar-laravel-phpcs)

PHPackages © 2026

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