Download the PHP package easyemailverification/php-sdk without Composer

On this page you can find all versions of the php package easyemailverification/php-sdk. 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 php-sdk

Easy Email Verification for PHP

Official PHP client for the Easy Email Verification API: check whether email addresses exist and are safe to send to, one by one, in batches of 50 or as bulk lists of up to 16 MB. No email is sent to the addresses you verify.

Install

Quick start

Get your API key in the dashboard under API settings and keep it on the server, in the EEV_API_KEY environment variable. Never put it in browser code; for web forms use the email verification widget.

Results

Every verification returns result (valid, invalid or unknown), a reason and risk signals:

Field Meaning
result valid: the mail server accepted the mailbox. invalid: it will bounce. unknown: no reliable answer (not invalid).
reason Why, for example accepted_email, rejected_email, invalid_domain, no_mx_record, timeout.
safe_to_send Overall recommendation. false for invalid and unknown results, catch-all domains and disposable addresses.
did_you_mean Corrected address when a typo is detected (gmial.com → gmail.com), otherwise ''.
disposable, accept_all, role, free Risk signals: temporary inbox, catch-all domain, role address (info@), free provider.

Client::decide($r) turns a result into 'accept', 'reject', 'suggest' (show did_you_mean) or 'review' (unknown, catch-all or disposable: your policy decides). Every result code is explained at easyemailverification.com/en-US/help/result-codes.

Batch: up to 50 addresses

Bulk lists

For files with thousands of addresses (TXT or CSV, one address per line, up to 16 MB). The account needs enough credits for every address. Bulk does not work with the sandbox key.

Credits

Each verified address uses one credit; unknown results do not. The free plan includes 50 verifications a day. See pricing.

Errors

API errors throw EasyEmailVerification\EEVException with the HTTP status and the API message:

Status Meaning
400 Missing key or parameter, or a non-sandbox address with the sandbox key
401 Unknown key, or a widget-only key
402 No credits left
404 Bulk job not found
429 Sandbox rate limit
0 Raised by the client (network error, timeout, more than 50 addresses in a batch)

Do not retry verifications in a tight loop: a request that timed out may already have used a credit.

Upgrading from the first version

EasyEmailVerificationClient still works as before (verifyEmail() returns an array and does not throw), now on top of the new client. New code should use EasyEmailVerification\Client.

Sandbox addresses

With Client::SANDBOX_API_KEY, these addresses return fixed answers: valid@, invalid@, unknown@, disposable@, catchall@, role@, quota@ (402) and ratelimit@ (429) at sandbox.easyemailverification.com, plus [email protected] (did you mean). Sandbox calls are limited to 60 per minute per IP.

Links

License

MIT


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json 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 easyemailverification/php-sdk contains the following files

Loading the files please wait ...