Migrate egulias/email-validator to TypeScript

B Production-ready · version 4.0.4

egulias/email-validator 4.0.4 is a PHP package released under the MIT license and requires PHP >=8.1. Pext migrates it to TypeScript; on Node.js, 354 of 354 PHPUnit tests pass (100%), with no failures, no errors and 4 skipped. It depends on 2 tracked packages (weakest tier: Converted), and 5 tracked packages depend on it.

A library for validating emails against several RFCs

ConvertsYes
Runs on Node.jsYes
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

100% of 354 tests passing (354 passed, 0 failed, 0 errors, 4 skipped). Verified 2026-10-21.

Where tests fail

Every executed test passes.

What “Production-ready” means

Passes at least 80% of its original tests and behaves like the PHP original on the paths that matter. Remaining gaps are tracked.

Requirements

PHP
>=8.1
Extensions
None declared

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

Weakest dependency: D Converted

Used by

Upstream

Version
4.0.4
License
MIT
Homepage
https://github.com/egulias/EmailValidator
Keywords
email, validation, validator, emailvalidation, emailvalidator

Migrating a codebase that uses egulias/email-validator?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.