Skip to content

jprangenbergde/temporary-email-detection

Repository files navigation

Temporary Email Detection SDK

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('[email protected]'); // true
$isTemporary = $client->isTemporary('jens-prangenberg.de'); // false

Extensions

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

Symfony: https://github.com/Dropelikeit/temporary-email-validator-bundle

Laminas / Mezzio: https://github.com/Dropelikeit/laminas-temporary-email-validator