LaravelPackages.net
Acme Inc.
Toggle sidebar
zalazdi/laravel-imap

Laravel 5 IMAP client.

12.876
49
1.0.4
About zalazdi/laravel-imap

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

laravel-imap

Latest Version on Packagist Total Downloads Software License

Install

  1. In your terminal via composer:
composer require zalazdi/laravel-imap
  1. Add this provider to your config/app.php :
Zalazdi\LaravelImap\Providers\LaravelServiceProvider::class,
  1. 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 [email protected] instead of using the issue tracker.

Credits

License

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

Comments