PHPackages                             vector88/laravel-validation - 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. vector88/laravel-validation

ActiveLibrary

vector88/laravel-validation
===========================

Validation Utilities for Laravel

1.0.4(9y ago)124MITPHPPHP ^5.3.3 || ^7.0

Since Aug 18Pushed 9y ago2 watchersCompare

[ Source](https://github.com/vector-kerr/laravel-validation)[ Packagist](https://packagist.org/packages/vector88/laravel-validation)[ RSS](/packages/vector88-laravel-validation/feed)WikiDiscussions master Synced today

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

Laravel Validation
==================

[](#laravel-validation)

This package provides validation utilities for Laravel. The utilities are intended to be generic and expandable, allowing the same set of validation rules to be reused between different systems.

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

[](#installation)

Add the package using the composer command line interface:

```
composer require vector88/laravel-validation

```

Add the service provider to `config/app.php`:

```
[
	...

	'providers' => [
		...,
		Vector88\Laravel\Validation\ValidationServiceProvider::class,
		...,
	],

	'aliases' => [
		...,
		'Validation' => Vector88\Laravel\Validation\Facades\Validation::class,
		...,
	],

	...

]

```

Example
-------

[](#example)

`App/Http/routes.php`

```
Route::get('/laravel', 'ValidationController@laravel' );
Route::get('/angular', 'ValidationController@angular' );
Route::get('/validator', 'ValidationController@validator' );

```

`App/Http/Controllers/ValidationController.php`

```
