2017 © Pedro Peláez
 

library fetch

A PHP IMAP Library

image

tedivm/fetch

A PHP IMAP Library

  • Saturday, November 26, 2016
  • by tedivm
  • Repository
  • 33 Watchers
  • 456 Stars
  • 394,098 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 153 Forks
  • 74 Open issues
  • 13 Versions
  • 3 % Grown

The README.md

Fetch Build Status

License Latest Stable Version Coverage Status Total Downloads, (*1)

Fetch is a library for reading email and attachments, primarily using the POP and IMAP protocols., (*2)

Installing

N.b. A note on Ubuntu 14.04 (probably other Debian-based / Apt managed systems), the install of php5-imap does not enable the extension for CLI , which can cause composer to report fetch requires ext-imap, (*3)

sh sudo ln -s /etc/php5/mods-available/imap.ini /etc/php5/cli/conf.d/30-imap.ini, (*4)

Composer

Installing Fetch can be done through a variety of methods, although Composer is recommended., (*5)

Until Fetch reaches a stable API with version 1.0 it is recommended that you review changes before even Minor updates, although bug fixes will always be backwards compatible., (*6)

"require": {
  "tedivm/fetch": "0.7.*"
}

Pear

Fetch is also available through Pear., (*7)

$ pear channel-discover pear.tedivm.com
$ pear install tedivm/Fetch

Github

Releases of Fetch are available on Github., (*8)

Sample Usage

This is just a simple code to show how to access messages by using Fetch. It uses Fetch own autoload, but it can (and should be, if applicable) replaced with the one generated by composer., (*9)

use Fetch\Server;
use Fetch\Message;

$server = new Server('imap.example.com', 993);
$server->setAuthentication('username', 'password');

/** @var Message[] $message */
$messages = $server->getMessages();

foreach ($messages as $message) {
    echo "Subject: {$message->getSubject()}", PHP_EOL;
    echo "Body: {$message->getMessageBody()}", PHP_EOL;
}

License

Fetch is licensed under the BSD License. See the LICENSE file for details., (*10)

The Versions

26/11 2016

dev-master

9999999-dev http://github.com/tedious/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

The Development Requires

by Robert Hafner

email imap pop3

02/08 2015

v0.7.1

0.7.1.0 http://github.com/tedious/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

The Development Requires

by Robert Hafner

email imap pop3

02/08 2015

dev-supress_php_warning

dev-supress_php_warning http://github.com/tedious/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

The Development Requires

by Robert Hafner

email imap pop3

08/01 2015

dev-travis_updates

dev-travis_updates http://github.com/tedious/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

The Development Requires

by Robert Hafner

email imap pop3

08/01 2015

v0.6.1

0.6.1.0 http://github.com/tedious/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

The Development Requires

by Robert Hafner

email imap pop3

14/03 2014

v0.5.3

0.5.3.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by Robert Hafner

email imap pop3

21/01 2014

v0.5.2

0.5.2.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by Robert Hafner

email imap pop3

19/12 2013

v0.5.1

0.5.1.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

01/12 2013

v0.4.5

0.4.5.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

28/07 2013

v0.4.4

0.4.4.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

12/07 2013

v0.4.3

0.4.3.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

01/07 2013

v0.4.2

0.4.2.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

26/11 2012

v0.4.1

0.4.1.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Robert Hafner

email imap pop3