imjonos / laravel-mailboxlayer
Laravel Email validators based on apilayer
dev-master
2022-10-13 09:13 UTC
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2024-12-13 13:54:01 UTC
README
Validator based on api https://apilayer.com/marketplace/email_verification-api
Installation
Via Composer
$ composer require imjonos/laravel-mailboxlayer
$ php artisan vendor:publish --provider="Nos\Mailboxlayer\MailboxlayerServiceProvider"
$ php artisan migrate
Usage
use Nos\Mailboxlayer\Rules\IsMxRecord;
public function rules(): array
{
return [
'email' => ['required', new IsMxRecord()],
];
}
Contributing
Please see contributing.md for details and a todolist.
License
license. Please see the license file for more information.