PHPackages                             felixfw/email-origin - 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. felixfw/email-origin

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

felixfw/email-origin
====================

email origin

0.1.4(6y ago)1951MITPHPPHP &gt;=7.1CI failing

Since Jul 4Pushed 6y agoCompare

[ Source](https://github.com/felixfw1990/email-origin)[ Packagist](https://packagist.org/packages/felixfw/email-origin)[ RSS](/packages/felixfw-email-origin/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

email origin
============

[](#email-origin)

简介
--

[](#简介)

清理邮件中的回复引用（origin）以及简单拼装引用。
一般只适用于邮件自带回复。
并不适用于自定义邮件内容。
由于样本和邮件本身原因，有不稳定因素存在。

已实现邮件服务商
--------

[](#已实现邮件服务商)

gmail outlook hotmail yahoo zoho
icloud proton gmx aol yandex
netease/163 tencent/qq sina

运行测试用例
------

[](#运行测试用例)

```
composer install # 安装依赖

./vendor/phpunit/phpunit/phpunit test/Providers # 运行测试用例

```

使用
--

[](#使用)

```
// 清除
$html      = '未过滤正文以及引用';
$fromEmail = '****@gmail.com';

(new Email())->getContent($html, $fromEmail);

// 拼装
$html      = '正文';
$orderHtml = '引用';
$fromEmail = '****@gmail.com';

(new Email())->setContent($html, $orderHtml, $fromEmail);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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 ~42 days

Total

4

Last Release

2380d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89a586a97d45f37f3f45d1f6f79fe3b75b1a300c62f2b79f534ee67e4c624b43?d=identicon)[felixfw1990](/maintainers/felixfw1990)

---

Top Contributors

[![felixfw11](https://avatars.githubusercontent.com/u/26129837?v=4)](https://github.com/felixfw11 "felixfw11 (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/felixfw-email-origin/health.svg)

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

###  Alternatives

[panakour/analytics

Get whatever data you want from google analytics.

267.6k](/packages/panakour-analytics)[kakuilan/php-helper

k`s php helper/library/utils

314.8k3](/packages/kakuilan-php-helper)[seanstewart/plan-config

Plan config allows you to easily define attributes and limits for your SaaS application subscription plans.

314.0k](/packages/seanstewart-plan-config)[damodar-bhattarai/settings

Package to store and get general website settings on the fly.

312.2k](/packages/damodar-bhattarai-settings)

PHPackages © 2026

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