PHPackages                             huenisys/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. huenisys/validator

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

huenisys/validator
==================

easily reusable validator package

0.0.2(7y ago)09↓83.3%MITPHP

Since Apr 1Pushed 7y agoCompare

[ Source](https://github.com/huenisys/validator)[ Packagist](https://packagist.org/packages/huenisys/validator)[ RSS](/packages/huenisys-validator/feed)WikiDiscussions dev Synced 2w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

huenisys/validator
==================

[](#huenisysvalidator)

depends on respect/validation for rules and validation

Usage
-----

[](#usage)

Pass an array of data to be validated with matching rules like in Laravel.

```
$dataArr1 = [
    'id' => '1',
    'hash' => 'abc123',
    'title' => 'Some Title'
];

$rulesArr1 = [
    'id' => 'numeric',
    'hash' => 'stringType|alnum',
    'title' => 'stringType|between :10, 20',
];

$this->validator1 = Validator::make(
  $dataArr1,
  $rulesArr1
);

// returns true if passing
$this->validator1->validate();

// returns true if validation fails from above
$this->validator1->fails();

// get errors in markdown
$this->validator1->getErrorsInMd();

// get errors in typical php array bag
$this->validator1->getErrors();
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

2

Last Release

2646d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e92cab60b244eeea33acb1155545f4968618f321d55d47cea244cee06b9be6f3?d=identicon)[huenisys](/maintainers/huenisys)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huenisys-validator/health.svg)

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

###  Alternatives

[illuminate/validation

The Illuminate Validation package.

18837.7M1.6k](/packages/illuminate-validation)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2422.3M6](/packages/laravel-validation-rules-credit-card)[danielebarbaro/laravel-vat-eu-validator

A simple package that validates EU VAT numbers against the central ec.europa.eu database

41401.6k](/packages/danielebarbaro-laravel-vat-eu-validator)

PHPackages © 2026

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