how to check if record already exists id and name while create in laravel code example
Example: laravel how to check if there are record exists
//User:: User is going to be what model you use.
//$user can be what ever you need it to be
$user = User::where('email', '=', Input::get('email'))->first();
if ($user != null) {
// Record does exist
}