WordPress Email TLD Checker
A small WordPress plugin to validate email addresses against valid TLDs.
by Box UK · github.com/boxuk/wordpress-email-tld-checker · website
★ 4stars
1composer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/boxuk/wordpress-email-tld-checker/archive/refs/heads/master.zipAlso on Packagist as boxuk/wordpress-email-tld-checker:
composer require boxuk/wordpress-email-tld-checkerFrom the readme
WordPress Email TLD Checker
A small WordPress plugin to validate email addresses against valid TLDs.
https://github.com/BoxUk/wordpress-email-tld-checker
License
Installation
Installation is handled via Composer.
Make sure you have composer/installers configured to install within the plugins dir.
Activate the plugin.
Or via the plugins section of the admin UI.
Usage
Once the plugin is activated, an email validation (isemail()) will now check that the TLD (the .com bit for example) is valid according to the official IANA database.
Troubleshooting
The plugin is designed to be installed with Composer and assumes you are including somewhere the autoloader that comes with composer, if you're not then you may run into some issues. The easiest way to resolve is to include the autolaod.php from composer, but failing that you may be able to manually require the following files:
$vendordir . '/symfony/polyfill-intl-idn/Idn.php'
$vendordir . '/symfony/polyfill-intl-idn/bootstrap.php'
$vendordir . '/arubacao/tld-checker/src/RootZoneDatabase.php'
$vendordir . '/arubacao/tld-checker/src/Validator.php'
$thisplugindir . '/functions.php
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 0.1.0 | Aug 23, 2021 | — | — |