🚀 What's Changed
✨ Added
- Added optional RFC, DNS, strict, spoof, filter, and filter_unicode validation modes to the
disposable_emailrule. - Added support for combining multiple validation modes.
$request->validate([
'email' => ['required', 'disposable_email:rfc,dns'],
]);♻️ Improved
- Refactored and optimized the disposable email validation pipeline.
- Improved domain loading, matching, and caching.
- Enhanced internal architecture for better maintainability and performance.
- Updated documentation with validation mode examples and usage.
✅ Backward Compatibility
The existing disposable_email validation rule continues to work without any changes.
Merged Pull Requests
- Feat/refactor validation rfc dns by @eramitgupta in #30
Full Changelog: v5.1.2...v5.2.0