PHPackages                             spagi/email-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. spagi/email-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

spagi/email-parser
==================

packages for store and parsing incomming emails

01PHPCI failing

Since Nov 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/spagi/emailparser)[ Packagist](https://packagist.org/packages/spagi/email-parser)[ RSS](/packages/spagi-email-parser/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Emailparser
===========

[](#emailparser)

Download, save, parse payment info from email messages

Instalation
-----------

[](#instalation)

Install the EmailParser package by running the following command: `composer require spagi/email-parser`
Run the command below to publish the package config file `config/emailparser.php`:
`php artisan vendor:publish`

### Configuration

[](#configuration)

```
        'host'  =>  'imap.seznam.cz',
        'port'  => env('IMAP_PORT', 993),
        'protocol'  => env('IMAP_PROTOCOL', 'imap'), //might also use imap, [pop3 or nntp (untested)]
        'encryption'    => env('IMAP_ENCRYPTION', 'ssl'), // Supported: false, 'ssl', 'tls', 'notls', 'starttls'
        'validate_cert' => env('IMAP_VALIDATE_CERT', true),
        'username' => env('IMAP_USERNAME', 'some@email.com'),
        'password' => env('IMAP_PASSWORD', 'pass')

```

#### Example

[](#example)

```
         $date = new \DateTimeImmutable('19.11.2019');
         $this->emailMessagesService->synchronize( $date);

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6311847?v=4)[spagi](/maintainers/spagi)[@spagi](https://github.com/spagi)

---

Top Contributors

[![spagi](https://avatars.githubusercontent.com/u/6311847?v=4)](https://github.com/spagi "spagi (7 commits)")

### Embed Badge

![Health badge](/badges/spagi-email-parser/health.svg)

```
[![Health](https://phpackages.com/badges/spagi-email-parser/health.svg)](https://phpackages.com/packages/spagi-email-parser)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M45](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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