PHP code example of webchemistry / disposable-emails

1. Go to this page and download the library: Download webchemistry/disposable-emails library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

webchemistry / disposable-emails example snippets


$checker = new EmailChecker();
$checker->addProvider(new BuiltinProvider());

assert($checker->isValid('[email protected]'));