PHPackages                             salesagility/pimap - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. salesagility/pimap

AbandonedArchivedProject[HTTP &amp; Networking](/categories/http)

salesagility/pimap
==================

A PHP Library for communicating with IMAP Servers using stream socket connection

v0.1.0(7y ago)6195[1 PRs](https://github.com/salesagility/Pimap/pulls)GPL-3.0-or-laterPHPPHP &gt;=5.5.9

Since Aug 30Pushed 6y ago3 watchersCompare

[ Source](https://github.com/salesagility/Pimap)[ Packagist](https://packagist.org/packages/salesagility/pimap)[ RSS](/packages/salesagility-pimap/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

PHP Internet Message Access Protocol (Pimap)
============================================

[](#php-internet-message-access-protocol--pimap)

A PHP Library for communication with IMAP Servers.

[![License: GPL v3](https://camo.githubusercontent.com/1b0c7e4911720d0444c16a1ffd145a039f14a1a7305362ab51184f757a4dd6bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d626c75652e737667)](https://www.gnu.org/licenses/gpl-3.0)[![Build Status](https://camo.githubusercontent.com/4d828cd86401945ee024af5b3fe39daccfdc77feada2434f04ff7c3f0fef7a6b/68747470733a2f2f7472617669732d63692e6f72672f53616c65734167696c6974792f50696d61702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SalesAgility/Pimap)[![codecov](https://camo.githubusercontent.com/8a2aff924d1ebafd2eca20ac186a06ba166fa6ddcf7aa9bf3e61bd49eab70832/68747470733a2f2f636f6465636f762e696f2f67682f53616c65734167696c6974792f50696d61702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/SalesAgility/Pimap)[![Total Downloads](https://camo.githubusercontent.com/6a2c3fbbf7cc00dd4060434048e7e9490cc5455fe7543dc2299db2a6462f0050/68747470733a2f2f706f7365722e707567782e6f72672f53616c65734167696c6974792f50696d61702f646f776e6c6f616473)](https://packagist.org/packages/SalesAgility/Pimap)

### Rationale

[](#rationale)

When communication with an IMAP email server involves a high amount of latency, it helps to be able to hand craft commands, so that we can reduce the quantity of commands being sent to the server. The PHP IMAP extension does not offer such control over the transport layer of the IMAP protocol. This library replaces the PHP IMAP extension and provides full control over the entire process.

### Features

[](#features)

- Fewer combined calls
- Decrease latency
- Command builder
- IMAP Connection Manager
- IMAP Response Interpreters
- Pipeline for caching commands and responses
- PSR 3 logger aware
- Mock objects for automated testing

### Compliant

[](#compliant)

- [RFC 3501](https://tools.ietf.org/html/rfc3501) IMAP version 4rev1
- [RFC 2822](https://tools.ietf.org/html/rfc2822) Internet Message Format
- [RFC 2045](https://tools.ietf.org/html/rfc2045) Multipurpose Internet Mail Extensions

### Dependencies

[](#dependencies)

Dependencies are managed by [composer](https://getcomposer.org/). Please see the composer.json file for a complete list of dependencies.

### Contributing to the Pimap project

[](#contributing-to-the-pimap-project)

Please read and sign the following [contributor agreement](https://www.clahub.com/agreements/salesagility/Pimap)

The Contributor Agreement only needs to be signed once for all pull requests and contributions.

Once signed and confirmed, any pull requests will be considered for inclusion in the Pimap project.

#### Security

[](#security)

We take security seriously here at SalesAgility so if you have discovered a security risk report it by emailing . This will be delivered to the product team that handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team.

Your email will be acknowledged within 24 hours during the business week (Mon - Fri), and you’ll receive a more detailed response to your email within 72 hours during the business week (Mon - Fri) indicating the next steps in handling your report.

### Add to your project (Composer)

[](#add-to-your-project-composer)

```
composer require "salesagility/pimap"
```

### Getting Help

[](#getting-help)

All the documentation is situated in the docs directory. The documentation in this project is written in markdown and generated using [Daux.io](https://daux.io/).

#### Generate Documentation

[](#generate-documentation)

To build the documentation

```
cd /path/to/pimap/
./vendor/bin/daux
```

open the generated *static/index.html* file.

#### Host Documentation

[](#host-documentation)

When updating the documentation, it helps to be able to see a live copy of your changes. Daux.io provides a built-in web server.

```
cd /path/to/pimap/
./vendor/bin/daux serve
```

this command will output something similar to:

```
Daux development server started on http://localhost:8085/
```

in this case, you can access **** in your web browser.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Every ~0 days

Total

2

Last Release

2861d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4041275?v=4)[samus-aran](/maintainers/samus-aran)[@samus-aran](https://github.com/samus-aran)

---

Top Contributors

[![samus-aran](https://avatars.githubusercontent.com/u/4041275?v=4)](https://github.com/samus-aran "samus-aran (3 commits)")[![NeelPrime](https://avatars.githubusercontent.com/u/31894276?v=4)](https://github.com/NeelPrime "NeelPrime (1 commits)")[![Parikshit-Hooda](https://avatars.githubusercontent.com/u/25405707?v=4)](https://github.com/Parikshit-Hooda "Parikshit-Hooda (1 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/salesagility-pimap/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k66.1M255](/packages/nelmio-api-doc-bundle)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

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