PHP code example of mapumba / disposable-email-domains-php

1. Go to this page and download the library: Download mapumba/disposable-email-domains-php 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/ */

    

mapumba / disposable-email-domains-php example snippets


$userEmail = "[email protected]";
if(DisposableEmail::isDisposableEmail($userEmail)){
  echo 'You are using a disposable email adrdess';
}else{
  echo 'You are not unsing a disposable email adrdess';
}

$ composer install mapumba/disposable-email-domains-php