moonbaselabs / laravel-neverbounce
This package is abandoned and no longer maintained.
No replacement package was suggested.
A laravel wrapper for the NeverBounceAPI-PHP.
v0.0.2
2019-05-14 01:13 UTC
Requires
- illuminate/support: 5.*
- neverbounce/neverbounce-php: ~4.1.0
This package is auto-updated.
Last update: 2024-07-14 12:19:20 UTC
README
Validate an email address against the NeverBounce API.
Installation
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',
Obtaining an API key
- Register for a Neverbounce Account.
- Create a new App.
- Copy secret API Key. (Note: Make sure it is a v4 api key. It will start with
private_***
).
Usage
$emailInput = $request->validate([ 'email' => 'required|email|neverbounce', ]);