PHPackages                             certly/threatexchange - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. certly/threatexchange

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

certly/threatexchange
=====================

ThreatExchange client.

v1.4.1(9y ago)31.8kPHP

Since Dec 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/certly/threatexchange)[ Packagist](https://packagist.org/packages/certly/threatexchange)[ RSS](/packages/certly-threatexchange/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

ThreatExchange Client
---------------------

[](#threatexchange-client)

Interact with the ThreatExchange API via PHP.

```
composer require certly/threatexchange

```

### Documentation

[](#documentation)

Initialize a `ThreatExchange` object with your application ID and application secret. All API calls will return a `stdClass` with the result.

```
$tx = new Certly\ThreatExchange\ThreatExchange("123", "abc");
echo var_dump($tx->getThreatExchangeMembers());

```

You can call other endpoints not directly implemented with the `call` function. You'll be authenticated automatically.

```
$tx = new Certly\ThreatExchange\ThreatExchange("123", "abc");
$tx->call("/898557073557972/descriptors", "GET");

```

If you need to pass parameters for a GET or POST request, just pass an associative array.

```
$tx = new Certly\ThreatExchange\ThreatExchange("123", "abc");
$tx->call("/898557073557972/descriptors", "GET", [
    "param_name" => "param_value"
]);

```

You can also use GET and POST specific functions.

```
$tx = new Certly\ThreatExchange\ThreatExchange("123", "abc");
$tx->get("/898557073557972/descriptors", [
    "param_name" => "param_value"
]);

```

If you want to retrieve more results, simply use the `next` function with the pagination URL returned from your previous request.

```
$tx = new Certly\ThreatExchange\ThreatExchange("123", "abc");
$result = $tx->getThreatIndicators("domain", "ian.sh", ["limit" => 1]);
$tx->next($result->paging->next);

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~60 days

Recently: every ~75 days

Total

6

Last Release

3533d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9427459fcd6e4ae54e1d876db7738202a9b6982441aa5950ccc6ca86d08cd28?d=identicon)[iangcarroll](/maintainers/iangcarroll)

---

Top Contributors

[![iangcarroll](https://avatars.githubusercontent.com/u/1280719?v=4)](https://github.com/iangcarroll "iangcarroll (11 commits)")

### Embed Badge

![Health badge](/badges/certly-threatexchange/health.svg)

```
[![Health](https://phpackages.com/badges/certly-threatexchange/health.svg)](https://phpackages.com/packages/certly-threatexchange)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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