Download the PHP package juanparati/laravel-kickbox without Composer
On this page you can find all versions of the php package juanparati/laravel-kickbox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download juanparati/laravel-kickbox
More information about juanparati/laravel-kickbox
Files in juanparati/laravel-kickbox
Download juanparati/laravel-kickbox
More information about juanparati/laravel-kickbox
Files in juanparati/laravel-kickbox
Vendor juanparati
Package laravel-kickbox
Short Description A Kickbox library for Laravel
License MIT
Package laravel-kickbox
Short Description A Kickbox library for Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-kickbox
Laravel Kickbox
A Laravel interface for the Kickbox service.
Installation
composer require juanparati/laravel-kickbox
Facade registration (optional):
'aliases' => [
...
'Kickbox' => \Juanparati\LaravelKickbox\Facades\KickboxFacade::class,
...
]
Configuration
Publish configuration file:
artisan vendor:publish --provider="Juanparati\LaravelKickbox\Providers\KickboxServiceProvider"
Add the Kickbox api key into your configuration file.
Usage
Verify an e-mail:
$result = Kickbox::service('email')->verify('[email protected]');
Get last balance:
$result = Kickbox::getLastBalance();
Count the number of verifications in the last minute:
Kickbox::getVerificationsInLastMinute();
Verify a list of e-mails using the batch verification:
$list = ['[email protected]', '[email protected]'];
$job = Kickbox::service('batch')->upload($list, 'https://mycallbackurl.com/foo/bar');
Verify job status
$status = Kickbox::service('batch')->verifyJob($job['id']);
Cache usage
It's possible to define a default cache for the email verification service. This will avoid to perform duplicate verifications of the same e-mail.
See the configuration file for more details.
All versions of laravel-kickbox with dependencies
PHP Build Version
Package Version
Requires
illuminate/cache Version
>=7
illuminate/support Version >=7
php Version >=7.3
ext-json Version *
guzzlehttp/guzzle Version ^7.2
illuminate/support Version >=7
php Version >=7.3
ext-json Version *
guzzlehttp/guzzle Version ^7.2
The package juanparati/laravel-kickbox contains the following files
Loading the files please wait ....