PHPackages                             messaged/php-mime-mail-parser - 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. messaged/php-mime-mail-parser

Abandoned → [php-mime-mail-parser/php-mime-mail-parser](/?search=php-mime-mail-parser%2Fphp-mime-mail-parser)Library[Mail &amp; Notifications](/categories/mail)

messaged/php-mime-mail-parser
=============================

Mailparse extension wrapper for PHP 5.3+

v1.0.7(11y ago)63140.1k↓19.6%21[1 PRs](https://github.com/message/php-mime-mail-parser/pulls)2CC BY-SA 3.0PHPPHP &gt;=5.3

Since Nov 9Pushed 4y ago8 watchersCompare

[ Source](https://github.com/message/php-mime-mail-parser)[ Packagist](https://packagist.org/packages/messaged/php-mime-mail-parser)[ Docs](http://github.com/message/php-mime-mail-parser)[ RSS](/packages/messaged-php-mime-mail-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (2)

php-mime-mail-parser
====================

[](#php-mime-mail-parser)

THIS REPOSITORY IS DEPRECATED. MOVED TO
======================================================================================================

[](#this-repository-is-deprecated-moved-to-httpsgithubcomphp-mime-mail-parserphp-mime-mail-parser)

PHP 5.3+ Fork of

Contributions
-------------

[](#contributions)

Feel free to contribute.

Composer
--------

[](#composer)

```
"require": {
	"messaged/php-mime-mail-parser": "v1.0.7"
}
```

Usage example
-------------

[](#usage-example)

```
use MimeMailParser\Parser;
use MimeMailParser\Attachment;

$parser = new Parser();
$parser->setText(file_get_contents('/path/to/mail'));

$to = $parser->getHeader('to');
$delivered_to = $parser->getHeader('delivered-to');
$from = $parser->getHeader('from');
$subject = $parser->getHeader('subject');
$text = $parser->getMessageBody('text');
$html = $parser->getMessageBody('html');
$attachments = $parser->getAttachments();

// Write attachments to disk
foreach ($attachments as $attachment) {
    $attachment->saveAttachment('/tmp');
}
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~112 days

Recently: every ~65 days

Total

8

Last Release

4152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e04c7236e22a6b102a2e8e611fbd4c151d5bde7b12e8a19b36ab34e398ff017d?d=identicon)[message](/maintainers/message)

---

Top Contributors

[![message](https://avatars.githubusercontent.com/u/492026?v=4)](https://github.com/message "message (22 commits)")[![mta59066](https://avatars.githubusercontent.com/u/936941?v=4)](https://github.com/mta59066 "mta59066 (3 commits)")[![coop182](https://avatars.githubusercontent.com/u/1443208?v=4)](https://github.com/coop182 "coop182 (2 commits)")[![dakota](https://avatars.githubusercontent.com/u/83255?v=4)](https://github.com/dakota "dakota (1 commits)")[![dmitry-textmagic](https://avatars.githubusercontent.com/u/9207618?v=4)](https://github.com/dmitry-textmagic "dmitry-textmagic (1 commits)")[![themightychris](https://avatars.githubusercontent.com/u/458494?v=4)](https://github.com/themightychris "themightychris (1 commits)")

---

Tags

mailmimemailparseMimeMailParser

### Embed Badge

![Health badge](/badges/messaged-php-mime-mail-parser/health.svg)

```
[![Health](https://phpackages.com/badges/messaged-php-mime-mail-parser/health.svg)](https://phpackages.com/packages/messaged-php-mime-mail-parser)
```

###  Alternatives

[zbateson/mail-mime-parser

MIME email message parser

54149.2M79](/packages/zbateson-mail-mime-parser)[php-mime-mail-parser/php-mime-mail-parser

A fully tested email parser for PHP 8.0+ (mailparse extension wrapper).

9979.6M27](/packages/php-mime-mail-parser-php-mime-mail-parser)[symfony/mime

Allows manipulating MIME messages

2.8k668.8M911](/packages/symfony-mime)[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

5389.8M246](/packages/nette-mail)[zbateson/stream-decorators

PHP psr7 stream decorators for mime message part streams

4748.6M6](/packages/zbateson-stream-decorators)[bashkarev/email

Faster MIME Mail Parser could be used to parse emails in MIME format.

208.8k](/packages/bashkarev-email)

PHPackages © 2026

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