PHPackages                             brick/validation - 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. brick/validation

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

brick/validation
================

Validation library

0.3.0(5y ago)72.2k↓50%2[2 issues](https://github.com/brick/validation/issues)1MITPHPPHP ^7.2 || ^8.0

Since Oct 7Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/brick/validation)[ Packagist](https://packagist.org/packages/brick/validation)[ RSS](/packages/brick-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (1)

Brick\\Validation
=================

[](#brickvalidation)

[![](https://raw.githubusercontent.com/brick/brick/master/logo.png)](https://raw.githubusercontent.com/brick/brick/master/logo.png)

A PHP validation library.

[![Build Status](https://github.com/brick/validation/workflows/CI/badge.svg)](https://github.com/brick/validation/actions)[![Coverage Status](https://camo.githubusercontent.com/a8a31a6318631bf6d9e58e4192f31ea68b2d597ab508281f30e9143502b84226/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f627269636b2f76616c69646174696f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/brick/validation?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/66e25d24a7bbaa5a98efd31475c55e919f0208db2561b39a41eaae66eaa717ba/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f76616c69646174696f6e2f762f737461626c65)](https://packagist.org/packages/brick/validation)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](http://opensource.org/licenses/MIT)

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

[](#installation)

This library is installable via [Composer](https://getcomposer.org/):

```
composer require brick/validation
```

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

[](#requirements)

This library requires PHP 7.1 or later.

Project status &amp; release process
------------------------------------

[](#project-status--release-process)

This library is still under development.

The current releases are numbered `0.x.y`. When a non-breaking change is introduced (adding new methods, optimizing existing code, etc.), `y` is incremented.

**When a breaking change is introduced, a new `0.x` version cycle is always started.**

It is therefore safe to lock your project to a given release cycle, such as `0.1.*`.

If you need to upgrade to a newer release cycle, check the [release history](https://github.com/brick/validation/releases) for a list of changes introduced by each further `0.x.0` version.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance50

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 97% 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 ~231 days

Recently: every ~289 days

Total

6

Last Release

1990d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.1

0.3.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/57189121968030f0770811b461cc92f9c19c08f5c4767292f2ede48b7277cfad?d=identicon)[BenMorel](/maintainers/BenMorel)

---

Top Contributors

[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (64 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")

---

Tags

phpvalidationvalidatorvalidationbrick

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[respect/validation

The most awesome validation engine ever created for PHP

5.9k37.4M383](/packages/respect-validation)[opis/json-schema

Json Schema Validator for PHP

64736.9M186](/packages/opis-json-schema)[vlucas/valitron

Simple, elegant, stand-alone validation library with NO dependencies

1.6k4.4M128](/packages/vlucas-valitron)[intervention/validation

Additional validation rules for the Laravel framework

6826.7M8](/packages/intervention-validation)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[wixel/gump

A fast, extensible &amp; stand-alone PHP input validation class that allows you to validate any data.

1.2k1.3M30](/packages/wixel-gump)

PHPackages © 2026

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