Skip to content

ciptard/Mailinator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mailinator

Total Downloads Latest Version Software License

A simple PHP library that wraps around the Mailinator API for use in PHP projects.

Install

PHP 5.4+ or HHVM 3.2+, and Composer are required.

To get the latest version, simply require "brnlbs/mailinator": "~1.0" in your composer.json file. You'll then need to run composer install or composer update to download it and have the autoloader updated.

Usage

$client = new Brnlbs\Mailinator\Client('api_key');

try
{
    $response = $client->publicInbox('[email protected]');
    echo('<pre>' . print_r($response, true) . '</pre>');
}
catch (Brnlbs\Spacejam\Exception $e)
{
    printf('%d: %s', $e->getCode(), $e->getMessage());
}

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A PHP library that wraps around the Mailinator API

Resources

License

Stars

Watchers

Forks

Packages

No packages published