定制 prezine/human-validator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-07-25