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. antkowiak/validation-bundle

ActiveSymfony-bundle

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 2mo ago

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 14% 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://www.gravatar.com/avatar/d4e07308fe982777b02d1ba80851699b411440be13bde5c2e529a2814af709cf?d=identicon)[antkowiak](/maintainers/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)
```

PHPackages © 2026

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