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

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

janu-software/coding-standard
=============================

v8.5.0(5mo ago)0805↑90%MITPHPPHP ^8.0

Since Jul 11Pushed 5mo ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (6)Used By (0)

Nette Coding Standard code checker &amp; fixer
==============================================

[](#nette-coding-standard-code-checker--fixer)

[![Downloads this Month](https://camo.githubusercontent.com/be3868ff85eb28efd1a304ce70f96215c5a0dce149b42435b19495207fe68d7d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6a616e752d736f6674776172652f636f64696e672d7374616e646172642e737667)](https://packagist.org/packages/janu-software/coding-standard)[![Latest Stable Version](https://camo.githubusercontent.com/ec2261fa50727fcbf207e2c30276822416348b81611b5d47322ae0cdd57048af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a616e752d736f6674776172652f636f64696e672d7374616e646172642e737667)](https://github.com/janu-software/coding-standard/releases)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](/LICENSE)

This is set of [sniffs](https://github.com/squizlabs/PHP_CodeSniffer) and [fixers](https://github.com/FriendsOfPHP/PHP-CS-Fixer) that **checks and fixes** code of Nette Framework against [Coding Standard in Documentation](https://doc.nette.org/en/contributing/coding-standard).

Installation and Usage
----------------------

[](#installation-and-usage)

Install the tool in a global directory. Its name will be for example `/nette-cs`:

```
composer create-project janu-software/coding-standard /nette-cs

```

Check coding standard for PHP 8.4 in folders `src` and `tests`:

```
/nette-cs/ecs check src tests --preset php84
```

And fix it:

```
/nette-cs/ecs fix src tests --preset php84
```

If no PHP version is specified, it will try to find out from the `composer.json` file.

### GitHub Actions

[](#github-actions)

```
# .github/workflows/coding-style.yml
steps:
    - uses: actions/checkout@v4
    - uses: shivammathur/setup-php@v2
      with:
          php-version: 8.4

    - run: composer create-project nette/coding-standard temp/coding-standard
    - run: php temp/coding-standard/ecs check src tests --preset php84
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance70

Regular maintenance activity

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~126 days

Total

5

Last Release

172d ago

PHP version history (2 changes)v8.3.0PHP ^7.4 || ^8.0

v8.4.1PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fc7c3d8e1b1a025c720311474d67376248ca2f7bce65e9dba59b688c5d3a5ff?d=identicon)[stanislav-janu](/maintainers/stanislav-janu)

---

Top Contributors

[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (126 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (54 commits)")[![stanislav-janu](https://avatars.githubusercontent.com/u/5769861?v=4)](https://github.com/stanislav-janu "stanislav-janu (23 commits)")[![foxycode](https://avatars.githubusercontent.com/u/1284781?v=4)](https://github.com/foxycode "foxycode (4 commits)")[![paveljanda](https://avatars.githubusercontent.com/u/1488874?v=4)](https://github.com/paveljanda "paveljanda (1 commits)")[![MartinSzollos2016](https://avatars.githubusercontent.com/u/24376583?v=4)](https://github.com/MartinSzollos2016 "MartinSzollos2016 (1 commits)")[![venca-x](https://avatars.githubusercontent.com/u/4173836?v=4)](https://github.com/venca-x "venca-x (1 commits)")

### Embed Badge

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

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

###  Alternatives

[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[redaxo/php-cs-fixer-config

php-cs-fixer config for REDAXO

1091.3k8](/packages/redaxo-php-cs-fixer-config)

PHPackages © 2026

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