Download the PHP package misaf/laravel-email-verification without Composer

On this page you can find all versions of the php package misaf/laravel-email-verification. 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 laravel-email-verification

Laravel Email Verification

Provider-neutral email domain and deliverability validation for Laravel.

It does not validate syntax — pair it with Laravel's built-in email rule.

Requirements

PHP 8.4+, Laravel 13.

Installation

This gives you the domain allow-list and the null driver, which treats every address as deliverable — fine for local and testing, but it performs no real verification. For that, install a driver package (one, both, or none):

Package Driver Provider
(core) null none — always Deliverable
misaf/laravel-email-verification-emailable emailable Emailable
misaf/laravel-email-verification-bouncer bouncer Bouncer

All service providers are auto-registered. See each driver's README for its credentials and options.

Publish the config:

Usage

Laravel's email rule runs first and bail stops there, so EmailValidation only ever sees — and only ever spends quota on — a well-formed address.

It is a plain ValidationRule, so it works anywhere Laravel accepts one — form requests, Validator::make(), and manual validator instances.

new EmailValidation() uses the configured default driver; pass a name to override per use: new EmailValidation('bouncer').

Verifying an address directly

The facade is the driver boundary: deliverability verification only. It does not apply allowed_domains — that belongs to the rule, which runs the allow-list first and short-circuits before spending quota. Use the facade for a driver's verdict on any address (a queued re-check, say) and the rule for user input.

Configuration

config/email-verification.php:

That is the whole core configuration. Endpoints, credentials, timeouts, and retries belong to the driver package.

Both drivers can coexist; default picks the one used when none is named:

Verification Outcomes

Status Meaning Validation result
Deliverable Positively classified as deliverable Pass
Risky May accept mail, but has quality concerns Fail
Undeliverable Positively classified as invalid Fail
Unverifiable Verification failed or gave no reliable result Fail

Provider failures and unknown states are never reported as deliverable.

Registering a custom driver

From a package service provider, defer the registration so provider discovery order cannot matter:

Localization

Messages come from the email-verification translation namespace, e.g. email-verification::validation.email.risky. To override them:

Testing

License

MIT. See LICENSE.


All versions of laravel-email-verification with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^13.0
illuminate/support Version ^13.0
illuminate/translation Version ^13.0
spatie/laravel-package-tools Version ^1.93
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 misaf/laravel-email-verification contains the following files

Loading the files please wait ...