If I understand the question correctly, required_with and required_without, looks like a good bet.
as @tkprocat said required_with and required_without should work:
$input = Input::all();
$rules = array(
'field_a' => '',
'field_b' => 'required_without:field_a',
'field_c' => 'required_with:field_d',
'field_d' => ''
);
$validator = Validator::make($input,$rules);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community