Skip to content
Laravel 5 IMAP client.
PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Add getFolder function to Client Apr 15, 2017
src Add getFolder function to Client Apr 15, 2017
.editorconfig First commit Aug 21, 2015
.gitignore Add .gitignore file Aug 22, 2015
CHANGELOG.md Changelog Oct 6, 2015
LICENSE.md First commit Aug 21, 2015
README.md rearrange Install instruction Apr 9, 2017
composer.json Update composer.json Sep 11, 2016

README.md

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 zalazdi@gmail.com instead of using the issue tracker.

Credits

License

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

You can’t perform that action at this time.