imjonos/laravel-mailboxlayer

Laravel Email validators based on apilayer


Keywords
service, laravel
License
MIT

Documentation

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.