PHPackages                             laravel-validators/foundation - 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. laravel-validators/foundation

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

laravel-validators/foundation
=============================

An opinionated way to register custom validators in Laravel.

v0.2.0(9y ago)3175[1 issues](https://github.com/laravel-validators/foundation/issues)MITPHPPHP &gt;=5.6.4

Since Sep 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/laravel-validators/foundation)[ Packagist](https://packagist.org/packages/laravel-validators/foundation)[ Docs](https://github.com/laravel-validators/foundation)[ RSS](/packages/laravel-validators-foundation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Foundation
==========

[](#foundation)

[![Build Status](https://camo.githubusercontent.com/c32cdef9dd3693b9d7f1a2449bf36ba27de8ef9830e13eb8a5802aea79cd200e/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2d76616c696461746f72732f666f756e646174696f6e2e737667)](https://travis-ci.org/laravel-validators/foundation)[![Total Downloads](https://camo.githubusercontent.com/4cf9ed57b05694c0429aa30c6b12bc2478194bb804727ab0834c08de78131afb/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d76616c696461746f72732f666f756e646174696f6e2f642f746f74616c2e737667)](https://packagist.org/laravel-validators/foundation)[![Latest Stable Version](https://camo.githubusercontent.com/3bc3ba42948f938320ad445577dd49df041380d015036546f4c7da4ee238b56a/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d76616c696461746f72732f666f756e646174696f6e2f762f737461626c652e737667)](https://packagist.org/packages/laravel-validators/foundation)[![Latest Unstable Version](https://camo.githubusercontent.com/9b429ad09df808b5d4d439e6ab0a5f521145c74d148f85427e8c086f046b802d/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d76616c696461746f72732f666f756e646174696f6e2f762f756e737461626c652e737667)](https://packagist.org/packages/laravel-validators/foundation)[![License](https://camo.githubusercontent.com/13b6171af2388413060adf57dc984b181139ee9a7036e6ef1c0810b0a5bc2a61/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d76616c696461746f72732f666f756e646174696f6e2f6c6963656e73652e737667)](https://packagist.org/packages/laravel-validators/foundation)

An opinionated way to register custom validators in Laravel.

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

[](#installation)

Begin by installing the package through [Composer](https://getcomposer.org).

```
$ composer require laravel-validators/foundation
```

Create a service provider that extends `LaravelValidators\Foundation\ValidationServiceProvider`.

```
