prezine/human-validator
最新稳定版本:1.0
Composer 安装命令:
composer require prezine/human-validator
包简介
A smart PHP validator for real human data
README 文档
README
A lightweight, modular PHP SDK that validates human-related input like names, emails, passwords, usernames, and phone numbers — with intelligent logic beyond basic regex. Perfect for user signup, forms, and fraud prevention.
🚀 Features
-
✅ Name Validation
Detects whether a name looks human-like (not random gibberish), with optional dictionary support. -
📧 Email Validation
Validates format, checks DNS MX records, and detects disposable or temporary email providers. -
🔐 Password Validation
Enforces strong password rules and checks if passwords contain the user's name or email. -
📱 Phone Number Validation
Validates international phone numbers using Google's libphonenumber for PHP. -
👤 Username Validation
Enforces character limits, filters profanity, and restricts reserved usernames.
🧪 Installation
Require the package via Composer:
composer require prezine/php-human-validator
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-07-25