DEV Community

Techsolutionstuff
Techsolutionstuff

Posted on • Originally published at techsolutionstuff.com

How To Check Email Already Exist Or Not In Laravel

In this post we will see how to check email already exist or not in laravel. when user register with duplicate or exist email id at that time it is very difficult to maintain data or records in database so we will check email exist or not using email already exist validation in laravel, if email already register with same email id then we will display error message to user like email already exists.

Here I have created controller and added below code in my controller for how to check if email already exists in database in laravel.

Discussion (1)

Collapse
masroore profile image
Max Ehsan

what post???