Download the PHP package andimg93/disposable-mail-detection without Composer

On this page you can find all versions of the php package andimg93/disposable-mail-detection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package disposable-mail-detection

PHP - Disposable Email Addresses Detection

After I had to realize that there is no good, fast and well maintained package for the detection of disposable mail addresses - I have now created one myself.

About 149k+ unique disposable mail providers are currently stored. Not a single address exists twice - No duplicates! PHP related there is no better performing package for validation. This is based on a simple isset check for the relevant mail part, which would be much faster than an in_array one - Particularly with such a large lookup/array. The advantage of isset compared to in_array is briefly explained as follows:

The advantages of this package are therefore obvious:

Get it via composer:

Usage

Your help is wanted

Regarding the sources for all the fake mail providers, have a look at updater.php

If you can remember any other good source of fake mail providers, feel free to add them there and post a PR.

Should you know no other sources, but got fake mail providers that are still missing? Then please add them to the list in disposable-mails-blacklist.inc.php. Just post a PR for it, I will look at it as soon as possible - Thanks for your help!

If a provider is not a disposable email provider, it can be excluded via the whitelist for the lookup generated subsequently!

To update the entire list, simply run the update script after your amendment. It works as follows:

After any change (Source/Blacklist/Whitelist) The Lookup has to be generated again, as just described.


All versions of disposable-mail-detection with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package andimg93/disposable-mail-detection contains the following files

Loading the files please wait ....