PHPackages                             stuyam/laravel-kickbox-validator - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. stuyam/laravel-kickbox-validator

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

stuyam/laravel-kickbox-validator
================================

A kickbox email validator for form requests in laravel

1.0.3(6y ago)410.1k5MITPHP

Since Jun 30Pushed 6y ago3 watchersCompare

[ Source](https://github.com/stuyam/laravel-kickbox-validator)[ Packagist](https://packagist.org/packages/stuyam/laravel-kickbox-validator)[ RSS](/packages/stuyam-laravel-kickbox-validator/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Lavarel Kickbox Validator
=========================

[](#lavarel-kickbox-validator)

[![Packagist](https://camo.githubusercontent.com/dd802c754432f2fc84a1cfddcd28275c9d063a3c6285f87019b3dc5e62f06355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73747579616d2f6c61726176656c2d6b69636b626f782d76616c696461746f722e737667)](https://packagist.org/packages/stuyam/laravel-kickbox-validator)[![Packagist](https://camo.githubusercontent.com/c45c838838ba627a113c10b25c534d412335d0ed7058d42b26a87ae2f05951ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73747579616d2f6c61726176656c2d6b69636b626f782d76616c696461746f722e737667)](https://packagist.org/packages/stuyam/laravel-kickbox-validator)

A kickbox.io email lookup validator for form requests in laravel. This custom validator for Laravel uses the [kickbox.io](https://kickbox.io/) API to validate that an email actual exists. Not just if it has a specific format or not, but if the email is a real email registered email.

For a working example check out [Laravel Validator Example](https://github.com/stuyam/validators) project.

Also see: [Laravel Twilio Validator](https://github.com/stuyam/laravel-twilio-validator) for phone number validation.

Step 1
------

[](#step-1)

Install via composer:

```
composer require stuyam/laravel-kickbox-validator

```

Step 2
------

[](#step-2)

Add to your `config/app.php` service provider list:

```
StuYam\KickboxValidator\KickboxValidatorServiceProvider::class
```

Step 3
------

[](#step-3)

Add Kickbox credentials to your .env file:

```
KICKBOX_API_KEY=xxxxxxxxxx

```

Step 4 (optional)
-----------------

[](#step-4-optional)

Publish the kickbox config with `php artisan vendor:publish --tag=kickbox`

Usage
-----

[](#usage)

Add the string 'kickbox' to a form request rules or validator like so:

```
