PHPackages                             spresnac/laravel-validator-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. spresnac/laravel-validator-rules

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

spresnac/laravel-validator-rules
================================

Some useful validator rules for laravel

0.1.1(6y ago)01.0k↓75%MITPHPPHP ^7.3

Since Nov 25Pushed 4y ago1 watchersCompare

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

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

Some useful validator rules for laravel
=======================================

[](#some-useful-validator-rules-for-laravel)

[![Build Status](https://camo.githubusercontent.com/7a15b540d7e6ef55e66ec57b00669bd913f2d8d04ef728cf6322dab4dea2bf09/68747470733a2f2f7472617669732d63692e6f72672f73707265736e61632f6c61726176656c2d76616c696461746f722d72756c65732e737667)](https://travis-ci.org/spresnac/laravel-validator-rules)

Validators
==========

[](#validators)

MimeType
--------

[](#mimetype)

This is able to filter by extension and after that filter by MimeType.

RealBoolean
-----------

[](#realboolean)

Filter values to be boolean with some more "loose" possibilitys like `"false"` as string and so on.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

2366d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04d0510a1a5bdd5707fb726d639d971007e602343c4378f65a56c64fa5638170?d=identicon)[spresnac](/maintainers/spresnac)

---

Top Contributors

[![spresnac](https://avatars.githubusercontent.com/u/3299107?v=4)](https://github.com/spresnac "spresnac (9 commits)")

---

Tags

phplaravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/spresnac-laravel-validator-rules/health.svg)

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

###  Alternatives

[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M107](/packages/propaganistas-laravel-phone)[proengsoft/laravel-jsvalidation

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

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[galahad/laravel-addressing

Laravel package providing addressing functionality

70316.6k](/packages/galahad-laravel-addressing)[yorcreative/laravel-argonaut-dto

Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.

1062.8k1](/packages/yorcreative-laravel-argonaut-dto)[danielebarbaro/laravel-vat-eu-validator

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

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

PHPackages © 2026

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