PHPackages                             digitalshift/mailbox-connection-bundle - 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. digitalshift/mailbox-connection-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

digitalshift/mailbox-connection-bundle
======================================

A Symfony2 Bundle mailbox communication by imap/pop3.

0.1.x-dev(12y ago)0231[1 issues](https://github.com/soeren-helbig/DigitalshiftMailboxConnectionBundle/issues)2MITPHPPHP &gt;=5.3.0

Since Mar 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/soeren-helbig/DigitalshiftMailboxConnectionBundle)[ Packagist](https://packagist.org/packages/digitalshift/mailbox-connection-bundle)[ Docs](https://github.com/soeren-helbig/DigitalshiftMailboxConnectionBundle)[ RSS](/packages/digitalshift-mailbox-connection-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (2)

DigitalshiftMailboxConnectionBundle
-----------------------------------

[](#digitalshiftmailboxconnectionbundle)

- encapsulates IMAP/POP3/… connections
- provides abstraction layer for MimeMessages / Mailbox-Folders
- depends on [PECL/mailparse Library](http://pecl.php.net/package/mailparse)

### Supported Mailbox Connections / Protocols

[](#supported-mailbox-connections--protocols)

- IMAP (ImapConnector)
- POP3 (Pop3Connector) - not yet implemented

### Abstraction-Layer

[](#abstraction-layer)

#### Mailbox - Folder

[](#mailbox---folder)

- access to mailbox folders, including their intire messages and subfolders (self-referencing)
- see [Entity/Folder.php](Entity/Folder.php) for complete fieldlist

#### MimeMessage

[](#mimemessage)

- access to mails, including raw content (mime-parts) &amp; headers
- see [Entity/MimeMessage.php](Entity/MimeMessage.php) for complete fieldlist

### Installation / Configuration

[](#installation--configuration)

- install doc see: [installation](Resources/doc/installation.md)-chapter
- configuration doc see: [configuration](Resources/doc/configuration.md)-chapter

### Basic Usage

[](#basic-usage)

The main access point is the `digitalshift_mailbox_client.connector`-service. It encapsulates your mailbox-connection and internally uses factories to build [Folder](Entity/Folder.php)- and [MimeMessage](Entity/MimeMessage.php)-instances by the recieved mailbox data. In your controller (for example), you can do things like that:

```
class DefaultController extends Controller
{
    ...

    public function indexAction()
    {
        /** @var ImapConnector $imapConnector */
        $imapConnector = $this->get('digitalshift_mailbox_client.connector');

        $folder = $imapConnector->getFolder();
        // OR
        $folder = $imapConnector->getFolder('INBOX');

        $message = $imapConnector->getMessage(1);
        // OR
        $message = $imapConnector->getMessage(1, 'INBOX');

        // Folder
        $folder->getName();
        $folder->getPath();
        $folder->getMessages();
        $folder->getFolders();

        // Message
        $message->getHeader();
        $message->getContent();
        $message->getSubject();
        $message->getHtmlContent();
        $message->getPlainContent();

        return $this->render(
            'DigitalshiftMailerBundle:Default:index.html.twig',
            array(
                'message' => $message,
                'folder' => $folder
            )
        );
    }

    ...

}
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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

4498d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1651135?v=4)[Soeren Helbig](/maintainers/soeren-helbig)[@soeren-helbig](https://github.com/soeren-helbig)

---

Top Contributors

[![soeren-helbig](https://avatars.githubusercontent.com/u/1651135?v=4)](https://github.com/soeren-helbig "soeren-helbig (75 commits)")

---

Tags

mailimappop3mailbox

### Embed Badge

![Health badge](/badges/digitalshift-mailbox-connection-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/digitalshift-mailbox-connection-bundle/health.svg)](https://phpackages.com/packages/digitalshift-mailbox-connection-bundle)
```

###  Alternatives

[php-imap/php-imap

Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)

1.7k13.2M48](/packages/php-imap-php-imap)[webklex/php-imap

PHP IMAP client

4506.3M23](/packages/webklex-php-imap)[ddeboer/imap

Object-oriented IMAP for PHP

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

A PHP IMAP Library

5071.2M8](/packages/tedivm-fetch)[directorytree/imapengine

A fully-featured IMAP library -- without the PHP extension

548243.6k8](/packages/directorytree-imapengine)[benhall14/php-imap-reader

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

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

PHPackages © 2026

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