laravel required if not empty code example
Example 1: laravel required_if fileld has value
'image' => 'required_if:old_image'
Example 2: laravel required_if fileld has value
'image' => 'required_without:old_image'
'image' => 'required_if:old_image'
'image' => 'required_without:old_image'