PHPackages                             avkluchko/government-bundle - 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. avkluchko/government-bundle

ActiveSymfony-bundle

avkluchko/government-bundle
===========================

Utilities for use with Russian government classifiers and dictionaries

v1.1.4(4y ago)117411MITPHPPHP ^7.4 || ^8.0CI failing

Since Oct 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/avkluchko/government-bundle)[ Packagist](https://packagist.org/packages/avkluchko/government-bundle)[ RSS](/packages/avkluchko-government-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (8)Versions (9)Used By (1)

Government Bundle
=================

[](#government-bundle)

[![Build Status](https://camo.githubusercontent.com/2c044d8b22cc402979a973cfd28592d48fd6a8f3f839e2f6fb17e09058678e39/68747470733a2f2f7472617669732d63692e6f72672f61766b6c7563686b6f2f676f7665726e6d656e742d62756e646c652e737667)](https://travis-ci.org/avkluchko/government-bundle)[![Total Downloads](https://camo.githubusercontent.com/332fc3a605f6ab7f3144fc5a4595d6d80a6ce6d4ed674a4a00b25d8299d82ef3/68747470733a2f2f706f7365722e707567782e6f72672f61766b6c7563686b6f2f676f7665726e6d656e742d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/avkluchko/government-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/26bb83fda181c81470ca82d0aaa8478d1bbf953769f6394af1366822827e82e4/68747470733a2f2f706f7365722e707567782e6f72672f61766b6c7563686b6f2f676f7665726e6d656e742d62756e646c652f762f737461626c65)](https://packagist.org/packages/avkluchko/government-bundle)[![License](https://camo.githubusercontent.com/4e394388b326db5e44febb50a2e841abec7ea21a67cdca089905306dfbbebc9e/68747470733a2f2f706f7365722e707567782e6f72672f61766b6c7563686b6f2f676f7665726e6d656e742d62756e646c652f6c6963656e7365)](https://packagist.org/packages/avkluchko/government-bundle)

Utilities for use with official Russians classifiers and dictionaries.

Requirements
------------

[](#requirements)

The minumum requirement by Government Bundle is that your web-server supports PHP 7.4 or above.

**Warning!** If your server use PHP x32, than will work only simple validation without check control sum.

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

[](#installation)

Install the package with:

```
composer require avkluchko/government-bundle
```

If you're *not* using Symfony Flex, you'll also need to enable the `AVKluchko\GovernmentBundle\GovernmentBundle`in your `AppKernel.php` file

Usage
-----

[](#usage)

OGRN Validator - validate Primary State Registration Number (OGRN).

```
// src/Controller/SomeController.php
use AVKluchko\GovernmentBundle\Validator\OGRNValidator;

// ...
class SomeController
{
    public function index(OGRNValidator $validator)
    {
        $isValid = $validator->isValid('some_ogrn');
        // ...
    }
}
```

INN Validator - validate Taxpayer Identification Number (INN).

```
// src/Controller/SomeController.php
use AVKluchko\GovernmentBundle\Validator\INNValidator;

// ...
class SomeController
{
    public function index(INNValidator $validator)
    {
        $isValid = $validator->isValid('some_inn');
        // ...
    }
}
```

SNILS Validator - validate Individual insurance account number (SNILS).

```
// src/Controller/SomeController.php
use AVKluchko\GovernmentBundle\Validator\SNILSValidator;

// ...
class SomeController
{
    public function index(SNILSValidator $validator)
    {
        $isValid = $validator->isValid('some_snils');
        // ...
    }
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% 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 ~125 days

Recently: every ~140 days

Total

8

Last Release

1521d ago

PHP version history (3 changes)v1.0.0PHP ^7.1.3

v1.1.3PHP ^7.1.3 || ^8.0

v1.1.4PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/73032381259dffe9b6b3343f7b82c2f165299ab4b69945dbf4ba02e6701b797f?d=identicon)[avkluchko](/maintainers/avkluchko)

---

Top Contributors

[![avkluchko](https://avatars.githubusercontent.com/u/5292154?v=4)](https://github.com/avkluchko "avkluchko (21 commits)")[![4n70w4](https://avatars.githubusercontent.com/u/38257723?v=4)](https://github.com/4n70w4 "4n70w4 (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/avkluchko-government-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/avkluchko-government-bundle/health.svg)](https://phpackages.com/packages/avkluchko-government-bundle)
```

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)

PHPackages © 2026

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