Laravel Excel Row Validation with conditions depends on another field input

The params of Rule::requiredIf should be a callback function that you need to custom the rule and input.

It's better to change Rule::requiredIf('*.0' === 'PRODUCTION-PROJECT') to 'required_if:*.0,PRODUCTION-PROJECT"'

so the correct code is :

$validatedData = Validator::make($array, [
    '*.0' => 'required',
    '*.1' => 'required_if:*.0,PRODUCTION-PROJECT'
];