| 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: | 2025-10-25 15:01:05 |
| Package Statistics | |
|---|---|
| Total Downloads: | 38 |
| Monthly Downloads: | 0 |
| 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();