Skip to content

jprangenbergde/temporary-email-detection

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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('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