PHPackages                             ostrolucky/symfony-container-number-validator - 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. ostrolucky/symfony-container-number-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

ostrolucky/symfony-container-number-validator
=============================================

Simple constraint for Symfony Validator which validates if supplied container number conforms to ISO 6346

0.1(8y ago)129.7k↓50%MITPHPPHP &gt;=7.1

Since Feb 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ostrolucky/symfony-container-number-validator)[ Packagist](https://packagist.org/packages/ostrolucky/symfony-container-number-validator)[ RSS](/packages/ostrolucky-symfony-container-number-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

symfony-container-number-validator
==================================

[](#symfony-container-number-validator)

Simple constraint for Symfony Validator which validates if supplied container number conforms to ISO 6346

Install
-------

[](#install)

Via Composer

```
composer require ostrolucky/symfony-container-number-validator
```

Resources
---------

[](#resources)

- [Container Services International (CSI) container prefix manual](https://www.csiu.co/container-prefixes)
- [ISO 6346 wikipedia article](https://en.wikipedia.org/wiki/ISO_6346)

Alternatives
------------

[](#alternatives)

- [stormpat/container-validator](https://github.com/stormpat/Container-validator) On top of validation, contains additional functionality and is not coupled to Symfony validator. However, complexity is higher and doesn't contain any tests. I discovered this project only after my library was long done, so don't expect similarities.
- [PHP BIC Validation](https://www.phpclasses.org/package/8800-PHP-Validate-the-owner-of-a-container-with-a-BIC-code.html) Oldest project, no composer, not PHP warning/notice free, but simple and ready to be used, with GUI integrated.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3011d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f56471f595636876f95264fa5c455d611329a4820193f88d22e83a5bd900292?d=identicon)[ostrolucky](/maintainers/ostrolucky)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ostrolucky-symfony-container-number-validator/health.svg)

```
[![Health](https://phpackages.com/badges/ostrolucky-symfony-container-number-validator/health.svg)](https://phpackages.com/packages/ostrolucky-symfony-container-number-validator)
```

###  Alternatives

[sllh/iso-codes-validator

Symfony validator wrapper of ronanguilloux/isocodes

37299.8k2](/packages/sllh-iso-codes-validator)[digitalrevolution/symfony-validation-shorthand

Validation shorthand for symfony

12108.5k2](/packages/digitalrevolution-symfony-validation-shorthand)[digitalrevolution/symfony-request-validation

Automatic request validation for symfony

1296.0k](/packages/digitalrevolution-symfony-request-validation)

PHPackages © 2026

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