PHP code example of wisembly / clearbit-php

1. Go to this page and download the library: Download wisembly/clearbit-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wisembly / clearbit-php example snippets




learbit\Clearbit;

$clearbit = Clearbit::create($token);
$combined = $clearbit->getCombined('[email protected]');

var_dump($combined->getPerson());
var_dump($combined->getCompany());

"wisembly/clearbit-php": "^2.0",
"php-http/guzzle6-adapter": "^1.0",
"guzzlehttp/psr7": "^1.2"