I found the solution myself, here is it
return $validator->errors()->toArray();
EZ PZ, working with Laravel is such a joy.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community