This directory contains an example of how to use Identibyte with a PHP
application to detect disposable email addresses. This code uses PHP's
file_get_contents
to make the API request and has no external
dependencies.
You can run this PHP example from the command line:
$ php -f identibyte.php
And optionally specify an email address to check:
$ php -f identibyte.php [email protected]
The code here is pretty straightfoward. Here's what happens when it runs:
- Get the email address to check
- Build the API request using PHP's
file_get_contents
- Make API request to Identibyte
- Print if the email address is disposable.
Identibyte · GitHub @Identibyte · Twitter @Identibyte