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

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

vaclavvanik/coding-standard
===========================

The Václav Vaník Coding Standard is a set of PHPCS rules applied to my projects ;-)

0.9.0(4y ago)082BSD-3-ClausePHP ^7.1 || ^8.0

Since Jul 15Pushed 4y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (10)Used By (0)

Václav Vaník Coding Standard
============================

[](#václav-vaník-coding-standard)

The Václav Vaník Coding Standard `VVCS` is a set of [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)rules applied to my projects.

VVCS is inspired by [Doctrine Coding Standard](https://github.com/doctrine/coding-standard)and heavily based on [Slevomat Coding Standard](https://github.com/slevomat/coding-standard).

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

[](#installation)

The recommended way to install PHP CS Fixer is to use [Composer](https://getcomposer.org/download/)in a dedicated `composer.json` file in your project, for example in the `tools/php-coding-standard` directory:

```
mkdir --parents tools/php-coding-standard
composer require --working-dir=tools/php-coding-standard vaclavvanik/coding-standard
cp tools/php-coding-standard/vendor/vaclavvanik/coding-standard/phpcs.dist.xml tools/php-coding-standard/.phpcs.xml
cp tools/php-coding-standard/vendor/vaclavvanik/coding-standard/.gitignore tools/php-coding-standard/.gitignore
```

Configuration
-------------

[](#configuration)

Dist configuration file: [phpcs.dist.xml](./phpcs.dist.xml).

[Ruleset documentation](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset).

Usage
-----

[](#usage)

Fix:

`./tools/php-coding-standard/vendor/bin/phpcbf --basepath=. --standard=tools/php-coding-standard/.phpcs.xml`

Check:

`./tools/php-coding-standard/vendor/bin/phpcs --basepath=. --standard=tools/php-coding-standard/.phpcs.xml`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~8 days

Recently: every ~17 days

Total

9

Last Release

1698d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3754860?v=4)[Václav Vaník](/maintainers/vaclavvanik)[@vaclavvanik](https://github.com/vaclavvanik)

---

Top Contributors

[![vaclavvanik](https://avatars.githubusercontent.com/u/3754860?v=4)](https://github.com/vaclavvanik "vaclavvanik (21 commits)")

---

Tags

codestylestandardrulessniffercodingcssniffschecks

### Embed Badge

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

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

###  Alternatives

[doctrine/coding-standard

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

31914.1M739](/packages/doctrine-coding-standard)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2137.0k10](/packages/leroy-merlin-br-coding-standard)

PHPackages © 2026

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