PHPackages                             epifrin/disposable-email-checker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. epifrin/disposable-email-checker

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

epifrin/disposable-email-checker
================================

The library allows checking if the email address is disposable

1.0.2(3y ago)012MITPHPPHP ^8.1

Since Feb 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/epifrin/DisposableEmailChecker)[ Packagist](https://packagist.org/packages/epifrin/disposable-email-checker)[ RSS](/packages/epifrin-disposable-email-checker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

Disposable Email Checker
========================

[](#disposable-email-checker)

The library allows checking if the email address is disposable.

[![Build status](https://github.com/epifrin/DisposableEmailChecker/actions/workflows/build.yml/badge.svg)](https://github.com/epifrin/DisposableEmailChecker/actions/workflows/build.yml)[![Latest Stable Version](https://camo.githubusercontent.com/ff3330f0a61c60d68ee82a374c665d3811b34d429301153f1fc8f637f2afa544/687474703a2f2f706f7365722e707567782e6f72672f6570696672696e2f646973706f7361626c652d656d61696c2d636865636b65722f76)](https://packagist.org/packages/epifrin/disposable-email-checker)[![PHP Version Require](https://camo.githubusercontent.com/8e0e94fcee67faa8d6520fe49b1b30670aa0b2893234ae7dca772c229dcda873/687474703a2f2f706f7365722e707567782e6f72672f6570696672696e2f646973706f7361626c652d656d61696c2d636865636b65722f726571756972652f706870)](https://packagist.org/packages/epifrin/disposable-email-checker)[![Total Downloads](https://camo.githubusercontent.com/cac2dc89c08af080ea2dbe0e5892af71b99407956908d12e1c20d263f522185c/687474703a2f2f706f7365722e707567782e6f72672f6570696672696e2f646973706f7361626c652d656d61696c2d636865636b65722f646f776e6c6f616473)](https://packagist.org/packages/epifrin/disposable-email-checker)[![License](https://camo.githubusercontent.com/1c32326ba01fed30e227b9e44df7f8b081081cf42b64795ddbf3fc9b8f1961fe/687474703a2f2f706f7365722e707567782e6f72672f6570696672696e2f646973706f7361626c652d656d61696c2d636865636b65722f6c6963656e7365)](https://packagist.org/packages/epifrin/disposable-email-checker)

How it works
------------

[](#how-it-works)

The library utilizes a third-party [Debounce Disposable Email API](https://debounce.io/free-disposable-check-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
------------

[](#requirements)

`PHP ^8.1`

`guzzlehttp/guzzle ^7.0`

Installation
------------

[](#installation)

Run the Composer require command to install the package:

`composer require epifrin/disposable-email-checker`

Usage
-----

[](#usage)

Basic use of DisposableEmailChecker

```
