A laravel 4 validation package
37
0
1
Package Data
Maintainer Username: michaeljennings
Maintainer Contact: michael.jennings91@gmail.com (Michael Jennings)
Package Create Date: 2014-12-25
Package Last Update: 2015-04-26
Language: PHP
License: MIT
Last Refreshed: 2024-12-14 15:00:17
Package Statistics
Total Downloads: 37
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Validation Latest Stable Version Latest Unstable Version License

A laravel 4 validation package aiming to help you clean up your controllers and models, and make validation quicker and simpler.

Installation

Include the package in your composer.json.

'Michaeljennings\Validation\ValidationServiceProvider'

);

'Validation' => 'Michaeljennings\Validation\Facades\Validation',

);

$validator->rule('name')->required();

});

if (Validation::passes()) { // Handle success } else { return Redirect::back()->withErrors(Validation::errors()); }

Validation::rule('foo')->required(); Validation::createRules();