Looking to hire Laravel developers? Try LaraJobs

laravel-mailboxlayer maintained by imjonos

Description
Laravel Email validators based on apilayer
Last update
2022/10/13 11:13 (dev-master)
License
Downloads
438
Tags

Comments
comments powered by Disqus

Laravel Email Verification

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.