kristijandraca/is-burner-email
Composer 安装命令:
composer require kristijandraca/is-burner-email
包简介
Fast, offline burner / disposable email detection. Three lists (blacklist, whitelist, graylist), two modes (normal, strict), zero runtime deps. PHP port of is-burner-email.
README 文档
README
Fast, offline burner / disposable email detection. Same three-list model (blacklist / whitelist / graylist) and two modes (normal / strict) across seven languages.
Packages
| Language | Registry | Install | Docs |
|---|---|---|---|
| JavaScript / TypeScript | npm | npm install is-burner-email |
packages/js/ |
| Python | PyPI | pip install is-burner-email |
packages/py/ |
| Go | go.dev | go get github.com/kristijandraca/is-burner-email/packages/go |
packages/go/ |
| PHP | Packagist | composer require kristijandraca/is-burner-email |
packages/php/ |
| C# / .NET | NuGet | dotnet add package Kristijandraca.IsBurnerEmail |
packages/csharp/ |
| Kotlin / JVM | Maven Central | implementation("io.github.kristijandraca:is-burner-email:1.4.3") |
packages/kotlin/ |
| Rust | crates.io | cargo add is-burner-email |
packages/rust/ |
Every package ships the same bundled domain data and exposes the same API shape.
Shared features
- Offline. Domain lists are bundled at package-build time. No network calls at runtime.
- Zero runtime dependencies in every language.
- Three lists.
blacklist— burners (always blocked)whitelist— always allowed; overrides everything elsegraylist— email alias / forwarding services (SimpleLogin, DuckDuckGo, Firefox Relay); blocked only in strict mode
- Two modes.
normal(blacklist only) orstrict(blacklist + graylist) - CLI in every language —
burner <email>with the same flags and exit codes - Refreshed weekly, reviewed before release — a cron rebuilds the aggregated blacklist from upstream sources and opens a PR with the diff; a maintainer reviews and merges it, then cuts a patch release. No upstream change reaches a published package unattended.
Data model
All four packages read the same canonical files in data/:
| File | Contents | Edited by |
|---|---|---|
blacklist.txt |
Aggregated from 5 upstream sources + extra-blacklist.txt, minus whitelist and graylist |
auto-generated |
whitelist.txt |
Curated "always allow" list (major providers, companies, IANA test domains) | humans |
graylist.txt |
Curated alias / forwarding services | humans |
extra-blacklist.txt |
Manually-curated additions to the blacklist | humans |
scripts/build-lists.ts fetches, merges, and syncs these files into the language packages that need local copies (Go for go:embed, PHP for runtime reads, Python for editable installs, C# for EmbeddedResource, Kotlin for JVM classpath resources, Rust for include_str!). The JS package reads root data/ directly via tsup's text loader.
Monorepo layout
/
├── data/ # Canonical data (single source of truth)
├── packages/
│ ├── js/ # npm package
│ ├── py/ # PyPI package
│ ├── go/ # Go module
│ ├── php/ # Composer package
│ ├── csharp/ # NuGet package
│ ├── kotlin/ # Maven Central package
│ └── rust/ # crates.io package
├── scripts/
│ └── build-lists.ts # Fetches sources, rebuilds blacklist, syncs copies
└── .github/workflows/ # CI + release pipelines
Sources
The blacklist aggregates and deduplicates domains from:
- disposable-email-domains/disposable-email-domains
- tompec/disposable-email-domains
- FGRibreau/mailchecker
- 7c/fakefilter
- martenson/disposable-email-domains
Community
CONTRIBUTING.md— dev setup, adding domains, PR processSECURITY.md— reporting vulnerabilitiesACKNOWLEDGMENTS.md— upstream list credits
License
MIT
kristijandraca/is-burner-email 适用场景与选型建议
kristijandraca/is-burner-email 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 11 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「email」 「validator」 「temporary」 「disposable」 「offline」 「burner」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kristijandraca/is-burner-email 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kristijandraca/is-burner-email 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kristijandraca/is-burner-email 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Runn Me! Validation and Sanitization Library
Extension for Opis JSON Schema
The Hiqdev Hoa\File library.
Make temporary Laravel workarounds expire and fail CI when ignored.
Temporary URL resource server for rekalogika/file FileInterface. Access files easily in your application by creating temporary URLs that expire after a set amount of time.
Extensible library for building notifications and sending them via different delivery channels.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 37
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-22