PHP Classes

File: src/EmailValidator/EmailValidator.php

Recommend this page to a friend!
  Classes of John Conde   PHP Email Validation Library Pro   src/EmailValidator/EmailValidator.php  
File: src/EmailValidator/EmailValidator.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Email Validation Library Pro
Validate email addresses using multiple rules
Author: By
Last change: feat(validation): Implement strict RFC 5322 email validation

- Fix domain literal validation for IPv4 and IPv6 addresses:
* Add proper handling of IPv6 compressed notation
* Support IPv4 addresses with leading zeros
* Validate IPv6 segment formats and values
* Fix empty segment handling in IPv6 addresses

- Improve EmailAddress class parsing:
* Simplify domain literal parsing logic
* Fix handling of quoted strings with @ symbols
* Preserve brackets in domain literals

- Update test suite with comprehensive RFC 5322 cases:
* Add tests for IPv4/IPv6 edge cases
* Add tests for quoted string escaping
* Fix test data to match RFC specifications
Date: 10 days ago
Size: 6,784 bytes

 

You need to be a registered user and login to get this file.

Login Immediately with your account on: