Downloads
Stars
Version
Validate an email address against the NeverBounce API.
composer require moonbaselabs/laravel-neverbounce
Add API key to configs/services.php
(See Obtaining an API Key below):
'neverbounce' => [
'api_key' => env('NEVERBOUNCE_API_KEY'),
],
Add translation to resources/lang/en/validation.php
'neverbounce' => 'The :attribute is not valid. :suggestion :error',
private_***
).$emailInput = $request->validate([
'email' => 'required|email|neverbounce',
]);