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 |
A laravel 4 validation package aiming to help you clean up your controllers and models, and make validation quicker and simpler.
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();