2017 © Pedro Peláez
 

library php-imap

PHP OOP library for accessing mailbox by POP3/IMAP/NNTP using IMAP extension

image

drakonli/php-imap

PHP OOP library for accessing mailbox by POP3/IMAP/NNTP using IMAP extension

  • Sunday, December 11, 2016
  • by drakonli
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

PHP IMAP

What is PHP IMAP?

Basically, it's an Object Oriented wrapper for IMAP library. It's meant to be used in a Object Oriented project and even supplies it's own dependency container (Dependency Injection Symfony Component), (*1)

This project uses SPL TYPES, because the forked project was for PHP prio to php7 and so there are no return types and scalar hints., (*2)

Requirements

HOW TO USE

Following examples are from my php-imap examples repository, (*3)

  1. Create a connection
  2. Inject services into your Client (like RepositoryInterface). All services you can find here and their dependency config here.
  3. Pass instantiated connection to services to do any kind of IMAP action.

Now, the most interesting part is how you create a connection. There are multiple ways to do so. These ways differ depending on how you would like to instantiate the connection method and amount of knowledge you have about flags, options and params and their values., (*4)

  1. If you don't know anything about them, you might just want to use factories and builders to create your own connection and connection config. And for that I recommend creating a Factory that implements PreDefinedConnectionFactoryInterface for each service you want to create IMAP connection to (because the connection settings are basically the same for one service - only login/password/mailbox are different). For example - Gmail.
  1. If you do know about them, use dependency injection factory method to create a connection and inject it straight into the client. For that you'll have to use ConnectionFactoryInterface::createConnectionNonStrict. Mind that even though the interface is non-strict, internally SplTypes and the Flags-, Params-, Options- Collection is instantiated.
  1. You can also use ConnectionFactoryInterface to create connection straight in the Client using strict (builders, factories, etc...) and non-strict (constants) syntax. I advice not to do it!, though:), (*5)

    1., (*6)

    2., (*7)

And check out the parameters.yml file - it will help you understand services configuration better., (*8)

Have fun:), (*9)

The Versions

11/12 2016

dev-master

9999999-dev https://github.com/drakonli/php-imap

PHP OOP library for accessing mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

MIT BSD 3-Clause

The Requires

 

The Development Requires

mail php imap

24/09 2016

3.0.0

3.0.0.0 https://github.com/drakonli/php-imap

PHP OOP library for accessing mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

 

mail php imap

13/08 2016

2.0.8

2.0.8.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

mail php imap

18/07 2016

2.0.7

2.0.7.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

mail php imap

14/12 2015

2.0.6

2.0.6.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

mail php imap

11/12 2015

2.0.5

2.0.5.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

mail php imap

06/11 2015

2.0.4

2.0.4.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

mail php imap

16/09 2015

2.0.3

2.0.3.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0

 

mail php imap

09/07 2015

2.0.2

2.0.2.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0

 

mail php imap

06/05 2015

2.0.1

2.0.1.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0

 

mail php imap

20/04 2015

2.0

2.0.0.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0

 

mail php imap

20/04 2015

1.1

1.1.0.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

BSD 3-Clause

The Requires

  • php >=5.3.0

 

mail php imap

20/04 2015

1.0

1.0.0.0 https://github.com/barbushin/php-imap

PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension

  Sources   Download

LGPL

The Requires

  • php >=5.3.0

 

mail php imap