mailchecker-io/mailchecker-laravel-rule

An easy to use Laravel Rule that uses the MailChecker.io service

1.1.0 2021-10-20 09:11 UTC

This package is auto-updated.

Last update: 2024-12-20 16:16:38 UTC


README

Latest Version on Packagist Tests Total Downloads

An easy to use Laravel Rule that uses the MailChecker.io service

Installation

You can install the package via composer:

composer require mailchecker-io/mailchecker-laravel-rule

Running the validation rule

// in a `FormRequest`

use MailChecker\LaravelValidationRule\MailChecker;

public function rules()
{
    return [
        'email' => [new MailChecker(<YOUR_API_KEY>)],
    ];
}