Download the PHP package epifrin/disposable-email-checker without Composer

On this page you can find all versions of the php package epifrin/disposable-email-checker. 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-email-checker

Disposable Email Checker

The library allows checking if the email address is disposable.

Build status Latest Stable Version PHP Version Require Total Downloads License

How it works

The library utilizes a third-party Debounce Disposable Email API, by sending requests and receiving responses. While the API is free to use, there are restrictions on the number of requests allowed. To minimize the number of requests, the library maintains its list of well-known email domains and implements a caching mechanism for previous responses.

Requirements

PHP ^8.1

guzzlehttp/guzzle ^7.0

Installation

Run the Composer require command to install the package:

composer require epifrin/disposable-email-checker

Usage

Basic use of DisposableEmailChecker

Please note. In case of reaching the Debounce API limitation will be thrown RateLimitException.

To reduce the number of requests to the Debounce API, it is recommended to pass a PSR-16 cache implementation as the first parameter when sending a significant amount of requests.

If you want to use your custom disposable email checker you can implement CheckerInterface and pass it as a second parameter.

Trust domains

Trust domains help to reduce the number of requests to the Debounce API. Emails from trust domains will not be checked by the Debounce API.

How to add trust domains.

Warning

Do not recommend using this library in the long-running application without your PSR-16 cache implementation.


All versions of disposable-email-checker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
psr/simple-cache Version ^3.0
psr/http-client Version ^1.0
guzzlehttp/psr7 Version ^2.0
guzzlehttp/guzzle Version ^7.0
ext-mbstring 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 epifrin/disposable-email-checker contains the following files

Loading the files please wait ...