jprangenbergde/temporary-email-detection

Simple and clean detection SDK for temporary emails

v1.3 2022-02-16 06:47 UTC

This package is not auto-updated.

Last update: 2024-11-16 02:06:48 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

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

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