I have an array that makes in front end with js and pass that to my controller with ajax.
structure of array is this:
[{FirstName: "fff"},
{LastName: null},
{Nationality: null},
{Year: null},
{Month: null},
{Day: null}]
I can't validate this array with request validation laravel. Now I'm going to turn this array into a Larval request to apply the rules to it.
Rules:
$validator = Validator::make($maked_laravel_request_from_array, [
'FirstName' => 'required',
'lastName' => 'required',
]);
Can any one helps?
via Chebli Mohamed
If you're looking to lose weight then you need to get on this totally brand new tailor-made keto meal plan.
RépondreSupprimerTo produce this keto diet, certified nutritionists, personal trainers, and professional chefs united to provide keto meal plans that are useful, convenient, economically-efficient, and fun.
Since their first launch in 2019, 100's of individuals have already transformed their figure and health with the benefits a great keto meal plan can provide.
Speaking of benefits: clicking this link, you'll discover 8 scientifically-confirmed ones provided by the keto meal plan.