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 1mo 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 71% 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

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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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