Download the PHP package masroore/mailcheck-php without Composer
On this page you can find all versions of the php package masroore/mailcheck-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download masroore/mailcheck-php
More information about masroore/mailcheck-php
Files in masroore/mailcheck-php
Package mailcheck-php
Short Description Reduce misspelled email addresses in your PHP apps.
License MIT
Homepage https://github.com/masroore/mailcheck-php
Informations about the package mailcheck-php
mailcheck-php
The PHP library that suggests a right domain when your users misspell it in an email address. See the original at https://github.com/mailcheck/mailcheck.
When your user types in "[email protected]", Mailcheck will suggest "[email protected]".
Mailcheck will offer up suggestions for second and top level domains too. For example, when a user types in "[email protected]", "hotmail.com" will be suggested. Similarly, if only the second level domain is misspelled, it will be corrected independently of the top level domain.
Installation
Requires PHP 8.1+
You can install the package via composer:
Usage
Returns null
if no suggestion:
Domains
Mailcheck has inbuilt defaults if the domains
, secondLevelDomains
or topLevelDomains
options aren't provided. We still recommend supplying your own domains based on the distribution of your users.
Adding your own Domains
You can replace Mailcheck's default domain/TLD suggestions by supplying replacements:
Contributing
Let's make Mailcheck awesome. We're on the lookout for maintainers and contributors.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Maintainers
- Dr. Masroor Ehsan, Author.
License
Licensed under the MIT License.
All versions of mailcheck-php with dependencies
ext-mbstring Version *