PHPackages                             antkowiak/validation-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. antkowiak/validation-bundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

antkowiak/validation-bundle
===========================

Symfony AntkowiakValidationBundle

011PHP

Since Mar 24Pushed 10y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#installation)

#### Step 1: Composer require

[](#step-1-composer-require)

```
composer require antkowiak/validation-bundle dev-master

```

#### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

```
new Antkowiak\ValidationBundle\AntkowiakValidationBundle()

```

Usage
-----

[](#usage)

```
$validator = $this->get('antkowiak.validator');

$object = new Object(); //Object with assert on fields.
$object->setEmail('1');

$validator->isValid($object); //boolean
$validator->getMessages($object); //array with messages

```

##### Example messages array:

[](#example-messages-array)

```
array:2 [
  "user" => array:1 [
    0 => "Ta wartość nie powinna być pusta."
  ]
  "name" => array:2 [
    0 => "Ta wartość nie jest prawidłowym adresem email."
    1 => "Ta wartość jest zbyt krótka. Powinna mieć 3 lub więcej znaków."
  ]
]

```

License
-------

[](#license)

This bundle is released under the MIT license. See the complete license in the bundle:

```
Resources/meta/LICENSE

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5641713?v=4)[Ryan Antkowiak](/maintainers/antkowiak)[@antkowiak](https://github.com/antkowiak)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/antkowiak-validation-bundle/health.svg)

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

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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