PHPackages                             boshurik/symfony-constraints - 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. boshurik/symfony-constraints

Abandoned → [boshurik/ru-constraints](/?search=boshurik%2Fru-constraints)Library[Validation &amp; Sanitization](/categories/validation)

boshurik/symfony-constraints
============================

Symfony constraints for Russian specific IDs

3.0.0(1mo ago)02.6kMITPHPPHP ^8.2CI passing

Since Mar 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/BoShurik/ru-constraints)[ Packagist](https://packagist.org/packages/boshurik/symfony-constraints)[ RSS](/packages/boshurik-symfony-constraints/feed)WikiDiscussions master Synced 2w ago

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

Symfony Constraints [![Build Status](https://camo.githubusercontent.com/66dd4b08c68c198064c7275abb5de23a9a382ed50da2635870f4b701cd123a49/68747470733a2f2f7472617669732d63692e636f6d2f426f53687572696b2f72752d636f6e73747261696e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/BoShurik/ru-constraints)
========================================================================================================================================================================================================================================================================================================================

[](#symfony-constraints-)

Port of [php-data-validation](https://github.com/Kholenkov/php-data-validation)

- Bik
- Inn
- Kpp
- Ogrn
- Ogrnip
- Snils
- Ks
- Rs

Symfony integration
-------------------

[](#symfony-integration)

```
services:
    _defaults:
        autowire: true
        autoconfigure: true

    BoShurik\Constraints\Ru\BikValidator: ~
    BoShurik\Constraints\Ru\InnValidator: ~
    BoShurik\Constraints\Ru\KppValidator: ~
    BoShurik\Constraints\Ru\KsValidator: ~
    BoShurik\Constraints\Ru\OgrnipValidator: ~
    BoShurik\Constraints\Ru\OgrnValidator: ~
    BoShurik\Constraints\Ru\RsValidator: ~
    BoShurik\Constraints\Ru\SnilsValidator: ~
```

without `autoconfigure`:

```
services:
    BoShurik\Constraints\Ru\BikValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\InnValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\KppValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\KsValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\OgrnipValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\OgrnValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\RsValidator:
        tags: ['validator.constraint_validator']
    BoShurik\Constraints\Ru\SnilsValidator:
        tags: ['validator.constraint_validator']
```

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance93

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity79

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

Recently: every ~344 days

Total

9

Last Release

36d ago

Major Versions

1.0.2 → 2.0.02020-10-20

2.1.2 → 3.0.02026-05-25

PHP version history (3 changes)1.0.0PHP ^7.2

2.0.0PHP ^7.2|^8.0

3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6c993e095b7e97c566f5079dfba606f34afbbc8d096bb74cabbb09ab4248dd3a?d=identicon)[BoShurik](/maintainers/BoShurik)

---

Top Contributors

[![BoShurik](https://avatars.githubusercontent.com/u/1428848?v=4)](https://github.com/BoShurik "BoShurik (29 commits)")

---

Tags

symfony-validatorvalidation

### Embed Badge

![Health badge](/badges/boshurik-symfony-constraints/health.svg)

```
[![Health](https://phpackages.com/badges/boshurik-symfony-constraints/health.svg)](https://phpackages.com/packages/boshurik-symfony-constraints)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)[api-platform/serializer

API Platform core Serializer

244.3M71](/packages/api-platform-serializer)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51390.8k3](/packages/web-auth-webauthn-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)

PHPackages © 2026

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