bagf/mailboxlayer-laravel
Composer 安装命令:
composer require bagf/mailboxlayer-laravel
包简介
Adds Laravel 5 validation rule for checking e-mail addresses using the mailboxlayer API
README 文档
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?',
统计信息
- 总下载量: 2.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unlicense
- 更新时间: 2017-01-21