PHPackages                             joshbrw/laravel-validation-rule-registration - 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. joshbrw/laravel-validation-rule-registration

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

joshbrw/laravel-validation-rule-registration
============================================

A package that is designed to help aid rapid development and registration of custom Validation Rules in Laravel

v0.1.7(8y ago)03.1k1MITPHPPHP &gt;=7.0

Since Feb 22Pushed 8y agoCompare

[ Source](https://github.com/joshbrw/laravel-validation-rule-registration)[ Packagist](https://packagist.org/packages/joshbrw/laravel-validation-rule-registration)[ RSS](/packages/joshbrw-laravel-validation-rule-registration/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

laravel-validation-rule-registration
====================================

[](#laravel-validation-rule-registration)

A package that is designed to help aid rapid development and registration of custom Validation Rules in Laravel

Usage
-----

[](#usage)

1. Create your Validation Rule class, ensure it implements the `Joshbrw\ValidationRule\Contracts\ValidationRule` contract.
2. In your service provider `use RegistersValidationRules`
3. In the `boot()` method of your service provider;
    - To register a validation rule: `$this->registerValidationRule('rule_name', RuleClass::class)`
    - To register a validation replacer: `$this->registerValidationReplacer('rule_name', RuleClass::class);`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~40 days

Recently: every ~70 days

Total

8

Last Release

3086d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/18d14d64b6e8e25cc473c10fbb699946e427b993cd78e7fae2c5a373f2ae5a54?d=identicon)[joshbrw](/maintainers/joshbrw)

---

Top Contributors

[![joshbrw](https://avatars.githubusercontent.com/u/779766?v=4)](https://github.com/joshbrw "joshbrw (1 commits)")

### Embed Badge

![Health badge](/badges/joshbrw-laravel-validation-rule-registration/health.svg)

```
[![Health](https://phpackages.com/badges/joshbrw-laravel-validation-rule-registration/health.svg)](https://phpackages.com/packages/joshbrw-laravel-validation-rule-registration)
```

###  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)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

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

PHPackages © 2026

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