zero-to-prod/validate-email

Validates an email


Keywords
validate-email, zero-to-prod, validate url, email, email-validation, php, validation
License
MIT

Documentation

Zerotoprod\ValidateEmail

Repo GitHub Actions Workflow Status Packagist Downloads php Packagist Version License

Validates an email.

Installation

Install the package via Composer:

composer require zero-to-prod/validate-email

Usage

Returns true if the value is a valid email.

Zerotoprod\ValidateEmail\ValidateEmail::isEmail('john@example.com')