LaravelPackages.net
Acme Inc.
Toggle sidebar
adenijiayocharles/identibyte-laravel

Laravel wrapper for the Identibyte.com API

15
0
1.0.2
About adenijiayocharles/identibyte-laravel

adenijiayocharles/identibyte-laravel is a Laravel package for laravel wrapper for the identibyte.com api. It currently has 0 GitHub stars and 15 downloads on Packagist (latest version 1.0.2). Install it with composer require adenijiayocharles/identibyte-laravel. Discover more Laravel packages by adenijiayocharles or browse all Laravel packages to compare alternatives.

Last updated

identibyte-laravel

This is a wrapper for the Identibyte API. Iddentibyte allows you to identify and mark disposable email addresses to save your company's resources for real users.

Installation

  • Get an api key from here
  • Run composer require adenijiayocharles/identibyte-laravel:1.0.2 from your Laravel application root.
  • Add the below to the bottom of your .env
IDENTIBYTE_KEY={your-api-key}
  • Publish the config file from the package by running
php artisan vendor:publish --provider='Adenijiayocharles\Identibyte\IdentibyteServiceProvider'

Usage

To check if an email is a disposable email or not, see the examples below

namespace App\Http\Controllers;

use Adenijiayocharles\Identibyte\Identibyte;

class TestController extends Controller
{
    // returns the whole response from identibye
    public function test() {
        return Identibyte::check('[email protected]');
    }

    // returns true if email is disposable and false if not
    public function checkEmail() {
        return Identibyte::isDisposableEmail('[email protected]');
    }
}

For more infomation visit here

Comments