zalazdi/laravel-imap
最新稳定版本:1.0.4
Composer 安装命令:
composer require zalazdi/laravel-imap
包简介
Laravel 5 IMAP client.
README 文档
README
Install
- In your terminal via composer:
composer require zalazdi/laravel-imap
- Add this provider to your config/app.php :
Zalazdi\LaravelImap\Providers\LaravelServiceProvider::class,
- Publish config file
php artisan vendor:publish --provider="Zalazdi\LaravelImap\Providers\LaravelServiceProvider"
then Define host, username, password, etc in your config/imap.php.
Usage
Example usage:
use Zalazdi\LaravelImap\Client; use Zalazdi\LaravelImap\Mailbox; // ... $client = new Client(); $client->connect(); $mailboxes = $client->getMailboxes(); foreach($mailboxes as $mailbox) { dump($mailbox->getMessages()); }
Change log
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email zalazdi@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 12.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 51
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-21