jprangenbergde/temporary-email-detection

Simple and clean detection SDK for temporary emails

v1.0.1 2017-12-19 10:23 UTC

README

Simple and clean SDK for https://temporary-email-detection.de

Build Status Coverage Status

Packagist

https://packagist.org/packages/jprangenbergde/temporary-email-detection

Installation

composer require jprangenbergde/temporary-email-detection

Example

<?php
    
use TemporaryEmailDetection\ClientFactory;
    
require 'vendor/autoload.php';
    
$factory = new ClientFactory();
$client = $factory->factorize();
    
$isTemporary = $client->isTemporary('mail@0815.ru'); // true
$isTemporary = $client->isTemporary('jens-prangenberg.de'); // false

Extensions

Laravel: https://github.com/Dropelikeit/temporary-email-validator