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

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

ndinhbang/validation-rules
==========================

A laravel package to provides additional validation rules

00PHP

Since Apr 16Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Validation Rules
================

[](#validation-rules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0067303eb0c358d74705c3b1ea21629a85e7b51e5ca0dfc750cc20edd04a8d87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e64696e6862616e672f76616c69646174696f6e2d72756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ndinhbang/validation-rules)[![Total Downloads](https://camo.githubusercontent.com/8c40a97cbda077e3eacd4887ae6aabde8bdd40f04f96898f4a1831484ce5fc7f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e64696e6862616e672f76616c69646174696f6e2d72756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ndinhbang/validation-rules)

A set of custom validation rules for laravel

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

[](#installation)

You can install the package via composer:

```
composer require ndinhbang/validation-rules
```

Usage
-----

[](#usage)

```
// Usage description here
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Dinh Bang Nguyen](https://github.com/ndinhbang)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 72.7% 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/02b45621349fe6f28d5a4213f1ff1e73baaf2eeef6b249defe73ff437003dd6d?d=identicon)[ndinhbang](/maintainers/ndinhbang)

---

Top Contributors

[![bang-abilive](https://avatars.githubusercontent.com/u/267970447?v=4)](https://github.com/bang-abilive "bang-abilive (8 commits)")[![ndinhbang](https://avatars.githubusercontent.com/u/47777358?v=4)](https://github.com/ndinhbang "ndinhbang (3 commits)")

### Embed Badge

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

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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