PHPackages                             wlbrough/clearbit-api - 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. [API Development](/categories/api)
4. /
5. wlbrough/clearbit-api

ActiveLibrary[API Development](/categories/api)

wlbrough/clearbit-api
=====================

A complete (unofficial) PHP SDK for Clearbit

0.2.2(7y ago)51.2k4[1 issues](https://github.com/wlbrough/clearbit-api/issues)MITPHPPHP ~5.6|~7.0CI failing

Since Aug 14Pushed 6y ago2 watchersCompare

[ Source](https://github.com/wlbrough/clearbit-api)[ Packagist](https://packagist.org/packages/wlbrough/clearbit-api)[ Docs](https://github.com/wlbrough/clearbit-api)[ RSS](/packages/wlbrough-clearbit-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (7)Used By (0)

Clearbit PHP API Client
=======================

[](#clearbit-php-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1ef4d50caf730ca4d658d81a95d6299ff435dc705ad43d59a63514eaadda6773/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776c62726f7567682f636c6561726269742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wlbrough/clearbit-api)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/bb62e8edbb5144dd945e0cd46179c68bc554fda55743b6c6209076aff2598224/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776c62726f7567682f636c6561726269742d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/wlbrough/clearbit-api)[![Coverage Status](https://camo.githubusercontent.com/9f650e24754502bbad98732c3adf198e542f0b4bc143d2143157af708d8ad3ff/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f776c62726f7567682f636c6561726269742d6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/wlbrough/clearbit-api/code-structure)[![Quality Score](https://camo.githubusercontent.com/675e90d0f93278c6587af2c5c3b8b157d37497ca20f2df25d222d72e179fd6c6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776c62726f7567682f636c6561726269742d6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/wlbrough/clearbit-api)[![Total Downloads](https://camo.githubusercontent.com/3b4730027aebf77efb86a0fae5c030e3b598565b035d4fc0b99e01b1744327fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776c62726f7567682f636c6561726269742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wlbrough/clearbit-api)

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
-------

[](#install)

Via Composer

```
$ composer require wlbrough/clearbit-api
```

Quick Start
-----------

[](#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

[](#using-a-single-key)

All of the following examples assume the following step:

```
use wlbrough\clearbit\Clearbit;

Clearbit::setKey('token');
```

#### Configuring endpoint behavior

[](#configuring-endpoint-behavior)

By default, Clearbit transmits data to a webhook if data is not immediately available. You can configure an endpoint url to receive webhooks, or you can use the steaming API to wait for results.

```
$enrichment = Clearbit::createEnrichmentApi();

// Webhook endpoint
$enrichment->setWebhookEndpoint('https://test.com/api/webhook');

// Streaming
$enrichment->enableStreaming();
```

#### Get combined (person and company) data

[](#get-combined-person-and-company-data)

```
$enrichment = Clearbit::createEnrichmentApi();
$enrichment->combined('test@test.com');
```

#### Get person data

[](#get-person-data)

```
$enrichment = Clearbit::createEnrichmentApi();
$enrichment->person('test@test.com');
```

To subscribe to updates:

```
$enrichment = Clearbit::createEnrichmentApi();
$enrichment->person('test@test.com', true);
```

#### Get company data

[](#get-company-data)

```
$enrichment = Clearbit::createEnrichmentApi();
$enrichment->company('test.com');
```

#### Name To Domain

[](#name-to-domain)

```
$nameToDomain = Clearbit::createNameToDomain();
$nameToDomain->get('Segment');
```

Status
------

[](#status)

- Enrichment
- Discovery
- Prospector
- Risk
- Reveal
- Name To Domain
- Logo

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Bill Broughton](https://github.com/wlbrough)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

5

Last Release

2871d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1268441?v=4)[Bill Broughton](/maintainers/wlbrough)[@wlbrough](https://github.com/wlbrough)

---

Top Contributors

[![wlbrough](https://avatars.githubusercontent.com/u/1268441?v=4)](https://github.com/wlbrough "wlbrough (19 commits)")[![GaryReckard](https://avatars.githubusercontent.com/u/1679951?v=4)](https://github.com/GaryReckard "GaryReckard (1 commits)")

---

Tags

apisdkclearbit

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wlbrough-clearbit-api/health.svg)

```
[![Health](https://phpackages.com/badges/wlbrough-clearbit-api/health.svg)](https://phpackages.com/packages/wlbrough-clearbit-api)
```

###  Alternatives

[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

596.2M35](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.5M11](/packages/checkout-checkout-sdk-php)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)[clicksend/clicksend-php

301.6M11](/packages/clicksend-clicksend-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
