PHPackages                             ajenbo/imap.php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ajenbo/imap.php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ajenbo/imap.php
===============

IMAP over socket

0.9.3(8y ago)12646MITPHPPHP &gt;=7.1

Since Oct 13Pushed 8y ago4 watchersCompare

[ Source](https://github.com/AJenbo/Imap.php)[ Packagist](https://packagist.org/packages/ajenbo/imap.php)[ RSS](/packages/ajenbo-imapphp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)DependenciesVersions (4)Used By (0)

Imap.php
========

[](#imapphp)

[![Codacy Badge](https://camo.githubusercontent.com/0d08178b6e5e7a461f89af74ba8465ab2c494f4ef08b2ac495e4c0815f4107a6/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6238616230386639643734333435656361353837313438633064336233363563)](https://www.codacy.com/app/AJenbo/imap.php?utm_source=github.com&utm_medium=referral&utm_content=AJenbo/imap.php&utm_campaign=Badge_Grade)

This is a rewrite of the class found at  as I found it lacking in some asspects and over reaching in otheres.

It accesses the IMAP server using a TCP socket without using the PHP IMAP extension.

It provides functions for:

- Authenticating (Plain, SASL-IR or Login)
- Get server capabilities
- Listing, search for, creating, renaming and deleting mailboxes
- Manage mailbox subscriptions
- Getting mailbox status
- Uploading mails to a mailbox
- Search for mails
- Managing mail flags
- Copying messages
- Retrieving mail
- Delete mail

The class still acts in a command respond fashion instead of per line evaluation, witch is a violation of the IMAP specefication. Currently it is lacking processessing for fetch responces

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Every ~45 days

Total

3

Last Release

3044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/037e9a795cdd230276d7dd694957a8a3f0d125c0c698e0b5e3b870daff983f6b?d=identicon)[AJenbo](/maintainers/AJenbo)

---

Top Contributors

[![AJenbo](https://avatars.githubusercontent.com/u/204594?v=4)](https://github.com/AJenbo "AJenbo (25 commits)")

### Embed Badge

![Health badge](/badges/ajenbo-imapphp/health.svg)

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

###  Alternatives

[phar-io/version

Library for handling version information and constraints

7.5k743.4M42](/packages/phar-io-version)[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.1k](/packages/illuminate-contracts)[wikimedia/composer-merge-plugin

Composer plugin to merge multiple composer.json files

1.0k25.0M261](/packages/wikimedia-composer-merge-plugin)[sabre/uri

Functions for making sense out of URIs.

29335.2M40](/packages/sabre-uri)

PHPackages © 2026

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