Download the PHP package raul3k/disposable-email-blocker-core without Composer

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

Disposable Email Blocker - Core

Fast disposable/temporary email detection with full Public Suffix List (PSL) support, pattern matching, caching, and whitelist capabilities.

Table of Contents

Features

Installation

Quick Start

Builder

The fluent builder is the recommended way to compose checkers:

Available builder methods:

Detailed Check Results

Get detailed information about the check result:

Batch Operations

Check multiple emails efficiently:

Pattern-Based Detection

Detect suspicious domain patterns using regex:

Whitelist Support

Allow specific domains to bypass disposable checks:

Caching

Add caching to improve performance for repeated checks:

PSR-6/PSR-16 Cache Adapters

Use any PSR-compatible cache:

Custom Checkers

Using a Callback (Redis, Database, API, etc.)

Implementing CheckerInterface

For reusable or complex checkers, implement the interface directly:

Using a Custom File

Chaining Multiple Checkers

Working with Sources

Sources provide lists of disposable domains. The library includes several pre-configured sources.

Available Built-in Sources

Source Format Size
disposable-email-domains Text ~5k
burner-email-providers Text ~27k
mailchecker Text ~56k
ivolo-disposable JSON ~122k
fakefilter Text ~10k

Fetching from Sources

Adding Custom Sources

Updating the Bundled Domain List

Use the CLI tool to fetch domains from all sources and update the bundled list:

You can customize sources via a disposable-blocker.php config file in your project root:

Updating the Public Suffix List

The library bundles a copy of the Public Suffix List for domain normalization. To update it:

The script downloads from the canonical source, validates the content (size, structure, and parse checks), and writes the updated file.

A GitHub Actions workflow runs monthly to keep the bundled PSL current via automated PRs.

Domain Info

Parse and inspect domain details using the Public Suffix List:

Domain Normalization

The library normalizes domains using the Public Suffix List to correctly extract registrable domains:

Framework Integration

For Laravel integration, see:

Development

License

MIT License. See LICENSE for details.


All versions of disposable-email-blocker-core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
jeremykendall/php-domain-parser Version ^6.4
ext-intl 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 raul3k/disposable-email-blocker-core contains the following files

Loading the files please wait ...