pavlakis/allowed-emails
最新稳定版本:1.1.0
Composer 安装命令:
composer require pavlakis/allowed-emails
包简介
An email allowed list (whitelist) checker.
README 文档
README
pavlakis/allowed-emails is a simple package to check allowed emails (aka whitelists) within a predefined email list, and a list of email domains.
Usage
Install the package by running:
composer require pavlakis/allowed-emails
Can instantiate the AllowedEmailList class directly or use the following two named-constructors:
withAllowedAliaseswithoutAllowedAliases
The parameters required are:
-
An array of emails
array<int, string>These emails will be validated. -
An array of email domains
array<int, string>These email domains will be validated.
If not using the named-constructors, the allowAlias boolean flag is also a required parameter. Setting that to true will treat an email with an alias the same way as the email without the alias e.g. it will match me+alias@example.com to me@example.com.
统计信息
- 总下载量: 59.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04