| Package Data | |
|---|---|
| Maintainer Username: | bagf |
| Package Create Date: | 2017-01-21 |
| Package Last Update: | 2017-02-13 |
| Language: | PHP |
| License: | Unlicense |
| Last Refreshed: | 2025-11-02 03:00:36 |
| Package Statistics | |
|---|---|
| Total Downloads: | 2,168 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 0 |
| Total Forks: | 4 |
| Total Open Issues: | 0 |
Adds Laravel 5 validation rule for checking e-mail addresses using the mailboxlayer API
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?',