hboers / mailinator
laravel 包,用于 https://github.com/thepieterdc/mailinator_php
dev-master
2015-05-09 18:07 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-09-28 16:00:00 UTC
README
一个用于mailinator_php的laravel包。
Mailinator.com API的PHP封装器
令牌
创建一个Mailinator账户,登录并找到您的令牌,请访问https://www.mailinator.com/settings.jsp
要求
您需要在您的服务器上安装cURL-扩展。PHP 5.2即可满足。
用法
require 'Mailinator.php'; $mailinator = new Mailinator('my_token'); //Get messages in inbox// print_r($mailinator->fetchInbox('randominbox')); //Get the id by running fetchInbox() first// print_r($mailinator->fetchMail('mail-id'));
许可
MIT许可(MIT)。有关更多信息,请参阅许可文件。