PHPackages                             dbeurive/imapconfig - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. dbeurive/imapconfig

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

dbeurive/imapconfig
===================

This package contains IMAP configurations for various email providers.

1.0.0(9y ago)020MITPHP

Since Jul 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/dbeurive/imapconfig)[ Packagist](https://packagist.org/packages/dbeurive/imapconfig)[ RSS](/packages/dbeurive-imapconfig/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Description
===========

[](#description)

This package contains IMAP configurations for a list of email service providers. This list contains the following providers:

- AOL
- Gmail
- Gmx
- LaPoste
- NetCourrier
- NewManity
- OpenMailbox
- Outlook
- Yahoo

> See

Installation
============

[](#installation)

From the command line:

```
composer require dbeurive/imapconfig

```

Or, within your file `composer.json`:

```
"require": {
    "dbeurive/imapconfig": "*"
}

```

Usage
=====

[](#usage)

Connecting to Gamil:

```
use dbeurive\imapconfig\Gmail;

$user       = 'YourGmailUser';
$password   = 'YourGmailPassword';
$imapConf   = new Gmail();
$imapStream = $imapConf->getImapStream($user, $password);
```

Or

```
use dbeurive\imapconfig\Gmail;

$user       = 'YourGmailUser';
$password   = 'YourGmailPassword';
$imapConf   = new Gmail();
$imapStream = imap_open($imapConf->mailbox(), $user, $password);
```

Classes
=======

[](#classes)

ServiceClassURLAOLdbeurive\\imapconfig\\AolGmaildbeurive\\imapconfig\\GmailGMXdbeurive\\imapconfig\\GmxLaPostedbeurive\\imapconfig\\LaposteNetCourrier / Net-Cdbeurive\\imapconfig\\NetcourrierNewManitydbeurive\\imapconfig\\NewmanityOpenMailboxdbeurive\\imapconfig\\OpenmailboxOutlookdbeurive\\imapconfig\\OutlookYahoodbeurive\\imapconfig\\YahooAPI Overview
============

[](#api-overview)

Getting the configuration parameters
------------------------------------

[](#getting-the-configuration-parameters)

MethodDescriptionhost()Return the name, or the IP address, of the host that runs the IMAP server.port()Return the TCP port number used by the IMAP server to listen for incoming connections.cypher()Return the name of he cypher used to secure the communications between the IMAP client and the server ("ssl" or "tls").needToAllowInsecureApp()This method indicates whether the service provider wants the user to configure his mailbox so that it can be accessed by "unsecured" applications.Connecting to the IMAP server
-----------------------------

[](#connecting-to-the-imap-server)

MethodDescriptiongetImapStream()Open an IMAP stream, as returned by the function `imap_open()`.mailbox()Return the mailbox's specification (as used within the function `imap_open()`).API
===

[](#api)

See the file [Imap.php](https://github.com/dbeurive/imapconfig/blob/master/src/Imap.php) for details.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3648d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18211524?v=4)[Denis BEURIVE](/maintainers/dbeurive)[@dbeurive](https://github.com/dbeurive)

---

Top Contributors

[![dbeurive](https://avatars.githubusercontent.com/u/18211524?v=4)](https://github.com/dbeurive "dbeurive (3 commits)")

---

Tags

configurationemailimap

### Embed Badge

![Health badge](/badges/dbeurive-imapconfig/health.svg)

```
[![Health](https://phpackages.com/badges/dbeurive-imapconfig/health.svg)](https://phpackages.com/packages/dbeurive-imapconfig)
```

###  Alternatives

[ddeboer/imap

Object-oriented IMAP for PHP

9194.0M14](/packages/ddeboer-imap)[tedivm/fetch

A PHP IMAP Library

5071.2M8](/packages/tedivm-fetch)[henrique-borba/php-sieve-manager

A modern (started in 2022) PHP library for the ManageSieve protocol (RFC5804) to create/edit Sieve scripts (RFC5228). Used by Cypht Webmail.

28137.9k3](/packages/henrique-borba-php-sieve-manager)[benhall14/php-imap-reader

A PHP class that makes working with IMAP in PHP simple.

3518.7k](/packages/benhall14-php-imap-reader)[tedivm/dovecottesting

An IMAP Testing Suite

312.4k7](/packages/tedivm-dovecottesting)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
