PHPackages                             polderknowledge/coding-standards - 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. polderknowledge/coding-standards

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

polderknowledge/coding-standards
================================

The Polder Knowledge coding standards for PHP\_CodeSniffer.

2.1.0(6y ago)010.7k1MITPHP ^7.1

Since Mar 20Pushed 6y ago7 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (11)Used By (1)

coding-standards
================

[](#coding-standards)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e2b3f3336765de63751381c66abb1f883cd069821548867dde683ab556f4ed53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706f6c6465726b6e6f776c656467652f636f64696e672d7374616e64617264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/polderknowledge/coding-standards)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/78d2c750b7be9f1b4b450470587fcda6a66e0571678374d02ec559fd0a2116ff/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f706f6c6465726b6e6f776c656467652f636f64696e672d7374616e64617264732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/polderknowledge/coding-standards)[![Coverage Status](https://camo.githubusercontent.com/027371cbab872debe67a3b0dc0eafa6e2374b27a834e90b96141005a9991e7d4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f706f6c6465726b6e6f776c656467652f636f64696e672d7374616e64617264732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/polderknowledge/coding-standards/code-structure)[![Quality Score](https://camo.githubusercontent.com/a59669afd35f9f15de6915b653154259321ff277a072863dfb854c4c873eb813/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706f6c6465726b6e6f776c656467652f636f64696e672d7374616e64617264732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/polderknowledge/coding-standards)[![Total Downloads](https://camo.githubusercontent.com/d735addcda4071ef7494f8ac623d6e6a8003ceabbb4de4cc2e625a03fb5afbe8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706f6c6465726b6e6f776c656467652f636f64696e672d7374616e64617264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/polderknowledge/coding-standards)

This repository contains the [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) configuration for PHP coding standards used for projects we build. The file is an extension on the PSR-2 defaults. And can be used by any PHP project.

Install
-------

[](#install)

Via Composer

```
$ composer require polderknowledge/coding-standards
```

Usage
-----

[](#usage)

Set the standard attribute in your build script to:

```

```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please report them via [HackerOne](https://hackerone.com/polderknowledge)instead of using the issue tracker or e-mail.

Community
---------

[](#community)

We have an IRC channel where you can find us every now and then. We're on the Freenode network in the channel #polderknowledge.

Credits
-------

[](#credits)

- [Polder Knowledge](https://polderknowledge.com)
- [All Contributors](../../contributors)

License
-------

[](#license)

Please see [LICENSE.md](LICENSE.md) for the license of this application.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

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 ~187 days

Recently: every ~371 days

Total

10

Last Release

2436d ago

Major Versions

1.1.4 → 2.0.02019-01-14

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2264982?v=4)[Polder Knowledge](/maintainers/polderknowledge)[@polderknowledge](https://github.com/polderknowledge)

---

Top Contributors

[![waltertamboer](https://avatars.githubusercontent.com/u/508054?v=4)](https://github.com/waltertamboer "waltertamboer (33 commits)")

---

Tags

codingcoding-standardcoding-standardscssniffsniffsstandardstandardscodestylestandardrulessniffercodingcssniffscheckscoding-standardspolderknowledge

### Embed Badge

![Health badge](/badges/polderknowledge-coding-standards/health.svg)

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

###  Alternatives

[doctrine/coding-standard

The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.

31914.8M819](/packages/doctrine-coding-standard)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2138.3k15](/packages/leroy-merlin-br-coding-standard)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

76840.1k94](/packages/consistence-coding-standard)

PHPackages © 2026

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