An open API service indexing awesome lists of open source software.

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.

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
```