Download the PHP package aman00323/emailchecker without Composer

On this page you can find all versions of the php package aman00323/emailchecker. 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?
aman00323/emailchecker
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package emailchecker

Email Checker

GitHub license GitHub release Packagist Downloads PHP Version codecov

Email Checker helps you reduce fake signups and disposable email usage by validating addresses with a practical multi-step flow.

Why Use It

Use it in registration and lead-capture flows where cleaner email data matters.

Quick Start

Install:

Basic check:

Compatibility

Package Version PHP Laravel
3.x >= 8.1 10.x, 11.x, 12.x

Installation

Email Checker requires PHP >= 8.1 and supports modern Laravel versions.

To get the latest version, require the project using Composer:

Once installed, include Aman\EmailVerifier\EmailChecker to access validation methods.

Optional: publish package config to tune SMTP behavior globally:

This creates config/emailchecker.php with defaults for probe toggle, port, timeout, and sender email.

Configuration

Published config (config/emailchecker.php) example:

Use global config when:

Use per-instance setters when:

Usage

Check Disposable Emails

If you want to check whether an email is disposable, use the method below.

Pass true as the second argument to enable deep checking against the full disposable-domain dataset shipped in this package.

This checks the address domain against the disposable-domain dataset included in this package.

Check DNS and MX Records

For better SMTP responses, set a sender email first:

Or set an environment variable:

You can also configure probe behavior globally via environment variables:

This method checks DNS and MX records, then attempts an SMTP handshake using fsockopen().

This returns an array like ['valid'|'invalid', 'details...'].

For better output, your server should support fsockopen().

Check Domain Status

This method validates domain existence through DNS record checks (MX, A, AAAA, CNAME).

This method returns true when at least one supported DNS record exists; otherwise false.

Check Email

This method runs disposable, MX/DNS+SMTP, and domain checks and returns a structured response.

All methods can be used independently, or together via checkEmail().

Example success response:

Limits and Expectations

No email verification library can guarantee 100% certainty for every mailbox.

Use this package as a high-signal filter, not a single source of truth.

Deprecations and Migration Notes

The package keeps old keys/properties for compatibility, but new integrations should use corrected names.

Legacy Use Instead Status
dispossable (response key) disposable Deprecated, still returned
$checker->domian $checker->domain Deprecated, still synchronized

Migration recommendation:

Contribution

All contributors are welcome. Please keep code style consistent and ensure tests pass before opening a pull request.

Keeping Disposable Domains Updated

Refresh the domain dataset locally:

This command fetches trusted source lists, normalizes and deduplicates domains, rewrites shard files in resources/domains, and updates resources/domains/metadata.json.

The repository also includes a daily scheduled GitHub Actions workflow to automate refreshes and open pull requests when updates are available.

Sponsorship and Commercial Support

If this package saves your team time or prevents signup abuse in production, please consider supporting maintenance.

For sponsorship or paid support, contact: [email protected]

Credits

Thanks to all contributors and users who helped this package reach broad production usage.


All versions of emailchecker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
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 aman00323/emailchecker contains the following files

Loading the files please wait ...