# barbushin/php-imap

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

Repository: https://github.com/barbushin/php-imap
Canonical: https://ross.abutalabs.com/products/php-imap
Language: PHP
License: MIT
License Family: permissive
Last push: 2026-05-10T18:58:46+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 83, longevity 100
- inputs: {"age_days": 5018, "days_push": 115, "days_rel": 115, "gap_med": 0, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1698, forks 456 (observed 2026-08-28T04:05:24.055343+00:00)

## What it is
A PHP library for connecting to mailboxes via POP3, IMAP, and NNTP using the PHP IMAP extension. It enables fetching, filtering, sorting, marking, and deleting emails, including attachments and inline images, and managing mailbox folders.

## Use cases
- fetch emails from an imap server in php
- download email attachments with php
- delete or mark emails as read programmatically
- filter and sort incoming emails by custom criteria
- manage mailbox folders from a php application
- build a php app that processes incoming mail

## When to choose
- you need IMAP/POP3/NNTP mailbox access in PHP
- you want a mature, MIT-licensed library with active support for PHP 8.2+
- you need attachment and inline image handling out of the box

## When to avoid
- your project runs on PHP below 8.2
- you cannot install the PHP ext-imap extension
- you need SMTP sending rather than mailbox reading

## Facets
- artifact type: library
- maturity: active
- function: email, http-client
- domain: email, developer-tools
- platform: php
- tags: imap, pop3, nntp, mailbox, attachments, email-fetching, automation

## Member repositories
- barbushin/php-imap (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.055343+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:49.308001+00:00, confidence not recorded.
  - readme: https://github.com/barbushin/php-imap (fetched 2026-08-28T04:05:24.055343+00:00, sha 75947ca1a948)
- Data as of 2026-08-30T08:39:29.467469+00:00.
