I want to validate all items in an array using Laravel validation. How can I do it?
Validate all items in an array quickly and easily using Laravel validation. Example:
<?php public function rules() { return [ 'attendees.*.name' => 'required|string', ] } ?>
Hope it will be helpful for you.
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in