bagf / mailboxlayer-laravel
Adds Laravel 5 validation rule for checking e-mail addresses using the mailboxlayer API
Installs: 2 157
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 4
Open Issues: 0
Requires
- guzzlehttp/guzzle: 6.*
- illuminate/support: 5.*
This package is not auto-updated.
Last update: 2024-11-10 02:29:50 UTC
README
Adds Laravel 5 validation rule for checking e-mail addresses using the mailboxlayer API
Installation
composer require bagf/mailboxlayer-laravel
Add this service provider to your Laravel 5 app providers array in config/app.php
Bagf\Mailboxlayer\ServiceProvider::class,
Add these configuration values to config/services.php
'mailboxlayer' => [ 'https' => true, 'access_key' => env('MAILBOXLAYER'), ],
You can then set your access key in the .env
file
MAILBOXLAYER="KEY_GOES_HERE"
Add these two translations to your validation language file in resources/lang/en/validation.php
'mailboxlayer' => 'The :attribute is not valid. :suggestion', 'mailboxlayer_suggest' => 'Did you mean :email?',