zalazdi/laravel-imap is a Laravel package for laravel 5 imap client..
It currently has 49 GitHub stars and 12.876 downloads on Packagist (latest version 1.0.4).
Install it with composer require zalazdi/laravel-imap.
Discover more Laravel packages by zalazdi
or browse all Laravel packages to compare alternatives.
Last updated
composer require zalazdi/laravel-imap
Zalazdi\LaravelImap\Providers\LaravelServiceProvider::class,
php artisan vendor:publish --provider="Zalazdi\LaravelImap\Providers\LaravelServiceProvider"
then Define host, username, password, etc in your config/imap.php.
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());
}
Please see CHANGELOG for more information what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.