jprangenbergde / temporary-email-detection
Simple and clean detection SDK for temporary emails
v1.3
2022-02-16 06:47 UTC
Requires
- php: ^7.4|^8.0|^8.1
- ext-json: *
- guzzlehttp/guzzle: ^7.4.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.6.0
- malukenho/mcbumpface: ^1.1.5
- phpstan/phpstan: ^0.12.99
- phpstan/phpstan-phpunit: ^0.12.22
- phpunit/phpunit: ^9.5.13
- psalm/plugin-phpunit: ^0.16.1
- vimeo/psalm: ^4.20.0
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
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