https://github.com/prezine/php-human-validator
Validate real human input in PHP. Catch fake names, non-existent emails, weak passwords, and inappropriate usernames โ all in one package.
https://github.com/prezine/php-human-validator
anti-fraud data-cleaning developer-tools email-validation fake-user-detection input-validation name-validation open-source password-validation php spam-detection user-authentication validation-library
Last synced: 28 days ago
JSON representation
Validate real human input in PHP. Catch fake names, non-existent emails, weak passwords, and inappropriate usernames โ all in one package.
- Host: GitHub
- URL: https://github.com/prezine/php-human-validator
- Owner: prezine
- License: mit
- Created: 2025-07-25T14:03:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-26T06:05:12.000Z (7 months ago)
- Last Synced: 2025-11-27T16:23:49.178Z (3 months ago)
- Topics: anti-fraud, data-cleaning, developer-tools, email-validation, fake-user-detection, input-validation, name-validation, open-source, password-validation, php, spam-detection, user-authentication, validation-library
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Human Validator
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:
```bash
composer require prezine/php-human-validator
```