Answers for "check if a value exists in database laravel validation"

C#
1

validate data exist in database lara vel

$this->validate($request, [
        'email' => 'required|exists:user|email',
    ]);
Posted by: Guest on July-19-2021
0

laravel validation if data exists

'user_id' => 'required|exists:App\Models\Users,id'
Posted by: Guest on September-29-2021

Code answers related to "check if a value exists in database laravel validation"

C# Answers by Framework

Browse Popular Code Answers by Language