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)07↓66.7%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 today

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 27% 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

2596d 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

[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.0M60](/packages/spatie-laravel-honeypot)[proengsoft/laravel-jsvalidation

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

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[blaspsoft/blasp

Blasp is a powerful and customisable profanity filter package for Laravel applications

329174.3k1](/packages/blaspsoft-blasp)

PHPackages © 2026

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