highline/sendgrid-emailvalidator

SendGrid Email Validator for Flow Applications

dev-master 2020-02-19 10:25 UTC

This package is auto-updated.

Last update: 2024-04-19 20:29:53 UTC


README

EmailValidator for Flow Applications using the SendGrid Email Validation API.

Installation

composer require highline/sendgrid-emailvalidator

Configuration

After successful installation make sure to configure the SendGrid API key in the Settings.yaml:

Highline:
  SendGrid:
    EmailValidator:
      apiKey: '<SENDGRID_API_KEY>'

Usage

The validator can be used like any other validator inside your Flow Application using the @Flow\Validate annotation:

@Flow\Validate(type="Highline\SendGrid\EmailValidator\EmailValidator")