Answers for "how to write a validator to check if a value is null in laravel"

PHP
1

how to set a validation on a value if its not null in laravel php

'password' => 'nullable|min:6|confirmed',
Posted by: Guest on July-30-2021
0

laravel validatrion check should be null

if ($request->has('scheduled_at')) {
            return response(abort(400));
        }
Posted by: Guest on October-11-2021

Code answers related to "how to write a validator to check if a value is null in laravel"

Browse Popular Code Answers by Language