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

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

galek/coding-standard
=====================

v2.1.5(5y ago)03551MITPHPPHP ^7.1

Since Jul 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/GalekDeprecated/coding-standard)[ Packagist](https://packagist.org/packages/galek/coding-standard)[ RSS](/packages/galek-coding-standard/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (8)Versions (24)Used By (1)

Forked
======

[](#forked)

I forked from [nette/coding-standard](https://github.com/nette/coding-standard)

Check &amp; Fix Your Code with Nette Coding Standard
====================================================

[](#check--fix-your-code-with-nette-coding-standard)

[![Downloads this Month](https://camo.githubusercontent.com/885a136cec81087f68221664919cafe54ef8cb0d7d0851d7fdd303d40da77458/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f67616c656b2f636f64696e672d7374616e646172642e737667)](https://packagist.org/packages/galek/coding-standard)[![Build Status](https://camo.githubusercontent.com/82fd7cef2b734844b761df13c9652fddc7745e05691a166f755e7557ff3c82a3/68747470733a2f2f7472617669732d63692e6f72672f4a616e47616c656b2f636f64696e672d7374616e646172642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/JanGalek/coding-standard)[![Latest Stable Version](https://camo.githubusercontent.com/7d16335d4929004b1ae56e7f19b0434df64e3c6644ed1143eec74f93beae363c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4a616e47616c656b2f636f64696e672d7374616e646172642e737667)](https://github.com/JanGalek/coding-standard/releases)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](/LICENSE)

This is set of [sniff](https://github.com/squizlabs/PHP_CodeSniffer) and [fixers](https://github.com/FriendsOfPHP/PHP-CS-Fixer) combined under [EasyCodingStandard](https://github.com/Symplify/EasyCodingStandard) that **checks and fixes** your PHP code against [Coding Standard in Documentation](https://nette.org/en/coding-standard).

What Rules are Covered?
-----------------------

[](#what-rules-are-covered)

This package covers **part of [official rules](https://nette.org/en/coding-standard)**, not all.

When you open [`/examples`](/examples) directory, all files you'll see are checked by this coding standard. The code might look invalid compared to Nette code you know, but it's only because this tool doesn't check it (yet).

All **general rules** you can find in [`coding-standard-php56.yml`](/coding-standard-php56.yml) file.

Install and Use
---------------

[](#install-and-use)

### Local Setup

[](#local-setup)

Installation into global folder named `coding-standard`:

```
composer create-project galek/coding-standard

```

Check coding standard:

```
coding-standard/ecs check src tests --config coding-standard/coding-standard-php56.yml
```

And fix it:

```
coding-standard/ecs check src tests --config coding-standard/coding-standard-php56.yml --fix
```

### Travis Setup

[](#travis-setup)

```
# .travis.yml
install:
    - composer create-project galek/coding-standard temp/coding-standard

script:
    - temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php56.yml
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 59.3% 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 ~62 days

Recently: every ~130 days

Total

22

Last Release

1918d ago

Major Versions

v0.8.3 → v1.0.02018-07-20

v1.0.2 → v2.0.02019-09-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/6171356cdb5543081a1fe848b40b005ee6acc6b07d532c90311d51490837d1ab?d=identicon)[GcoreCZ](/maintainers/GcoreCZ)

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (54 commits)")[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (36 commits)")[![paveljanda](https://avatars.githubusercontent.com/u/1488874?v=4)](https://github.com/paveljanda "paveljanda (1 commits)")

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sylius-labs/coding-standard

Battle-tested coding standard configuration used in Sylius.

896.1M488](/packages/sylius-labs-coding-standard)[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)

PHPackages © 2026

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