Download the PHP package martian/spammailchecker without Composer

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

Informations about the package spammailchecker

Laravel SpamMailChecker

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require Made in Nigeria

A powerful Laravel package designed to effortlessly validate email addresses against various spam mail providers using a diverse range of drivers. Seamlessly integrated with Laravel's validation system, this package offers comprehensive support for validating email inputs in forms and RESTful APIs

Supported Email Validation Services

Service Descriptions Driver Documentation Supported
Local A local text list of spam email domains. local Read More ✅ Yes
Remote Using PHP In-built functions getmxrr(), checkdnsrr(). fsockopen() to validate email domain remote Read More ✅ Yes
AbstractApi Using Abstract's suite of API to validate email domains abstractapi Read More ✅ Yes
QuickEmailVerification A reliable, accurate, affordable, and advanced email verification service quickemailverification Read More ✅ Yes
Verifalia A web-based email validation service which allows to upload and validate lists of email addresses with ease verifalia Read More ✅ Yes
SendGrid A cloud-based SMTP provider that allows you to validate email addresses before you send. sendgrid Read More ✅ Yes

NOTE: More services will be added soon. (You can also contribute to this project by adding more services - ZeroBounce, Mailboxlayer, EmailListVerify, Emailable, etc)

Installation

You can install the package via composer:

Publish Configuration File

Publish the configuration file using the following command:

Configuration

The configuration file is located at config/laravel-spammail-checker.php. You may configure the package to use any of the supported drivers. The default driver is local which uses a local text list of spam email domains.

Local Driver Configuration

NOTE: The local driver is case-insensitive. So, you don't need to worry about the case of the email domain.

Remote Driver Configuration

AbstractApi Driver Configuration

QuickEmailVerification Driver Configuration

Verifalia Driver Configuration

NOTE: A user on verifalia needs to be granted permission to use the API. You can do this by going here and clicking on the edit user you want to grant permission to. Then click on the Permissions tab and check the appropriate permissions on Email validations section.

SendGrid Driver Configuration

Usage

In order to use the package, you need to call the spammail validation rule in your validation rules. You can also change the rule name to whatever you want in the config/laravel-spammail-checker.php configuration file under the rule key, likewise the error message under the error_message key.

Or make use of spammail in your Requests file like this:

Adding Custom Error Message

A custom error message can be added to the spammail validation rule.

Or you can change the error message in the config/laravel-spammail-checker.php configuration file under the error_message key.

Using Classes Directly

You can also use the classes directly without using the spammail validation rule. This is useful when you want to use the package in your own custom validation rule or your own custom class.

Using Facade

You can also use the SpamMailChecker class directly without instantiating it.

Using Each Driver Individually

You can also use each driver individually without using the spammail validation rule. This is useful when a certain driver is needed in a particular situation.

Using VerifaliaDriver
Using SendGridDriver
Using AbstractApiDriver
Using RemoteDriver
Using LocalDriver
Using QuickEmailVerificationDriver

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please feel free to fork this project and make a pull request. For more information check CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of spammailchecker with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^7.4|^8.0
guzzlehttp/guzzle Version ^6.0|^7.0
illuminate/support Version ^8.0|^9.0|^10.0
laravel/framework Version ^5.0|^6.0|^7.0|^8.0|^9.0|^10.0
quickemailverification/quickemailverification 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 martian/spammailchecker contains the following files

Loading the files please wait ....