kirimemail / clearbit-php
(unofficial) PHP SDK for Clearbit
1.0.1
2019-04-29 17:46 UTC
Requires
- php: ~7.0
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2024-10-29 05:16:57 UTC
README
Clearbit API Client. Currently supporting the Enrichment API, but the entire API is on the roadmap for implementation. The current implementation uses v2 endpoints.
Install
Via Composer
$ composer require kirimemail/clearbit-api
Quick Start
This implementation supports using one or multiple api keys. If a single key is used, clients are generated using static functions, otherwise instance methods generate clients.
Using a single key
All of the following examples assume the following step:
use Kirimemail\Clearbit\Clearbit; Clearbit::setKey('token');
Calculates an associated risk score
$calculate = Clearbit::createRiskApi(); $calculate->risk([ 'email' => 'test@test.com', 'ip' => '127.0.0.1']);
License
The MIT License (MIT). Please see License File for more information.