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

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

sebastiaanluca/laravel-validator
================================

Properly handle user input by using your validation rules in form requests (validators) as source of truth.

0.2.0(8y ago)38391MITPHPPHP ^7.0

Since Jan 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sebastiaanluca/laravel-validator)[ Packagist](https://packagist.org/packages/sebastiaanluca/laravel-validator)[ Docs](https://www.github.com/sebastiaanluca/laravel-validator)[ RSS](/packages/sebastiaanluca-laravel-validator/feed)WikiDiscussions develop Synced today

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

Laravel Validator
=================

[](#laravel-validator)

[![Latest stable release](https://camo.githubusercontent.com/216859caf527c514858a6f4f273bce353f34a5ad9e7758b9e80b2965c3d23b5f/68747470733a2f2f706f7365722e707567782e6f72672f7365626173746961616e6c7563612f6c61726176656c2d76616c696461746f722f76657273696f6e)](https://packagist.org/packages/sebastiaanluca/laravel-validator)[![Software license](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![Build status](https://camo.githubusercontent.com/74e8e3e5b14c18fabf8db0bf5e663016dcc198ec322908db29aad319b166c889/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7365626173746961616e6c7563612f6c61726176656c2d76616c696461746f722f6d61737465722e737667)](https://travis-ci.org/sebastiaanluca/laravel-validator)[![Total downloads](https://camo.githubusercontent.com/98e302015592cb707930aab18ce68d48cd6a03f1da8c47a42775eac3c117ed01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7365626173746961616e6c7563612f6c61726176656c2d76616c696461746f722e737667)](https://packagist.org/packages/sebastiaanluca/laravel-validator)

[![Read my blog](https://camo.githubusercontent.com/0760b582e22202bd412feb64f5f87b6459f64a0b8ea5fdd24cbadf87df736177/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b2d626c6f672d6c69676874677265792e737667)](https://blog.sebastiaanluca.com)[![View my other packages and projects](https://camo.githubusercontent.com/5ce3a83ee0ec2b4ae47a99f67347c1d8e78582757eca80fe31c98e5bd0e2185a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b2d6f746865725f7061636b616765732d6c69676874677265792e737667)](https://packagist.org/packages/sebastiaanluca)[![Follow @sebastiaanluca on Twitter](https://camo.githubusercontent.com/bde346ed8efc8b2458386b36256c64e3fe010276f449b80fe4f663c4c8bbd83e/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f7365626173746961616e6c7563612e7376673f7374796c653d736f6369616c)](https://twitter.com/sebastiaanluca)[![Share this package on Twitter](https://camo.githubusercontent.com/cb820a0ecc9645168e33b03925d7f14691262ddbaeaf66a0a91697803d0cba2d/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f687474702f736869656c64732e696f2e7376673f7374796c653d736f6369616c)](https://twitter.com/intent/tweet?text=Properly%20handle%20user%20input%20by%20using%20your%20validation%20rules%20in%20form%20requests%20as%20source%20of%20truth.%20https%3A%2F%2Fgithub.com%2Fsebastiaanluca%2Flaravel-validator%20via%20%40sebastiaanluca&source=webclient)

Properly handle user input by using your validation rules in form requests (validators) as source of truth.

Table of contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Install](#install)
- [Usage](#usage)
- [Change log](#change-log)
- [Testing](#testing)
- [Contributing](#contributing)
- [Security](#security)
- [Credits](#credits)
- [License](#license)

Requirements
------------

[](#requirements)

- PHP 7 or higher
- Laravel 5.4 or higher

Install
-------

[](#install)

Via Composer:

```
composer require sebastiaanluca/laravel-validator
```

Usage
-----

[](#usage)

Simply extend the validator in your form request.

License
-------

[](#license)

This package operates under the MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
composer install
composer test
```

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Sebastiaan Luca](https://github.com/sebastiaanluca)
- [All Contributors](../../contributors)

About
-----

[](#about)

My name is Sebastiaan and I'm a freelance Laravel developer specializing in building custom Laravel applications. Check out my [portfolio](https://www.sebastiaanluca.com) for more information, [my blog](https://blog.sebastiaanluca.com) for the latest tips and tricks, and my other [packages](https://packagist.org/packages/sebastiaanluca) to kick-start your next project.

Have a project that could use some guidance? Send me an e-mail at !

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

3254d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/711940?v=4)[Sebastiaan Luca](/maintainers/sebastiaanluca)[@sebastiaanluca](https://github.com/sebastiaanluca)

---

Top Contributors

[![sebastiaanluca](https://avatars.githubusercontent.com/u/711940?v=4)](https://github.com/sebastiaanluca "sebastiaanluca (24 commits)")

---

Tags

controllerformlaravelpackagephprequestrulesvalidatevalidationvalidatorlaravelvalidatorform-request

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)[laravel-validation-rules/us-state

Validate US States and Canada Provinces

16177.7k](/packages/laravel-validation-rules-us-state)[carsdotcom/laravel-json-schema

Json Schema validation for Laravel projects

1040.9k5](/packages/carsdotcom-laravel-json-schema)

PHPackages © 2026

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