A while ago I wrote a brief article about setting up custom validators. Maybe this will help? http://liza.io/custom-validators-in-laravel/
It's work!
Validator::extendImplicit('required_if_empty', function($attribute, $value, $parameters)
{
return $value==="" ? false : $value;
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community