PHPackages                             cryonighter/cryonighter-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. cryonighter/cryonighter-coding-standard

ActivePhpcodesniffer-standard[Validation &amp; Sanitization](/categories/validation)

cryonighter/cryonighter-coding-standard
=======================================

CodeSniffer ruleset for the cryonighter coding standard

1.0.2(6y ago)0181[2 PRs](https://github.com/cryonighter/cryonighter-coding-standard/pulls)MITPHPCI passing

Since Feb 25Pushed 3w ago1 watchersCompare

[ Source](https://github.com/cryonighter/cryonighter-coding-standard)[ Packagist](https://packagist.org/packages/cryonighter/cryonighter-coding-standard)[ Docs](https://github.com/cryonighter/cryonighter-coding-standard)[ RSS](/packages/cryonighter-cryonighter-coding-standard/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (7)Used By (0)

Cryonighter PHP CodeSniffer Coding Standard
===========================================

[](#cryonighter-php-codesniffer-coding-standard)

A coding standard to check against the [cryonighter coding standards](https://github.com/cryonighter/cryonighter-coding-standard/blob/master/docs/standard-description-ru.md), originally shamelessly copied from the -disappeared- opensky/Symfony2-coding-standard repository.

Installation via Composer
-------------------------

[](#installation-via-composer)

This standard can be installed with the [Composer](https://getcomposer.org/) dependency manager.

1. Install the coding standard as a dependency of your project

    ```
    composer global require cryonighter/cryonighter-coding-standard

    ```
2. Add the coding standard to the PHP\_CodeSniffer install path

    ```
    phpcs --config-set installed_paths ../../../vendor/escapestudios/symfony2-coding-standard,../../../vendor/cryonighter/cryonighter-coding-standard

    ```
3. Check the installed coding standards for "Symfony" and "Cryonighter"

    ```
    phpcs -i

    ```

Installation Stand-alone
------------------------

[](#installation-stand-alone)

1. Install [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
2. Checkout this repositories

    ```
    git clone git://github.com/djoos/Symfony2-coding-standard.git symfony2-coding-standard && git clone git@github.com:cryonighter/cryonighter-coding-standard.git

    ```
3. Add the coding standard to the PHP\_CodeSniffer install path

    ```
    phpcs --config-set installed_paths /path/to/symfony2-coding-standard,/path/to/cryonighter-coding-standard

    ```

    Or move/copy/symlink repositories `Symfony` and `Cryonighter` folders inside the phpcs `Standards` directory
4. Check the installed coding standards for "Symfony" and "Cryonighter"

    ```
    phpcs -i

    ```

Usage
=====

[](#usage)

Via command line

```
phpcs --standard=Cryonighter --extensions=php --ignore=/path/to/exclude-code /path/to/code

```

PHP Code Sniffer Wiki: [usage](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage), [advanced usage](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance62

Regular maintenance activity

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~91 days

Total

3

Last Release

2451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/640fd5daf250ddc27926b04a4fa74e2d8239c777475a783f155a6c9d47e1df78?d=identicon)[cryonighter](/maintainers/cryonighter)

---

Top Contributors

[![cryonighter](https://avatars.githubusercontent.com/u/20028293?v=4)](https://github.com/cryonighter "cryonighter (5 commits)")

---

Tags

phpcsCoding Standard

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[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)[gskema/phpcs-type-sniff

PHPCS sniff to enforce PHP7 types and array types

41121.6k2](/packages/gskema-phpcs-type-sniff)[mayflower/mo4-coding-standard

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

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

Webimpress Coding Standard

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

PHPackages © 2026

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