PHPackages                             whitelabeled/impact-api-client - 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. whitelabeled/impact-api-client

ActiveLibrary

whitelabeled/impact-api-client
==============================

Impact API client (to import actions)

1.0.0(1y ago)074↓100%MITPHPPHP &gt;= 7.4

Since Nov 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/whitelabeled/impact-api-client)[ Packagist](https://packagist.org/packages/whitelabeled/impact-api-client)[ RSS](/packages/whitelabeled-impact-api-client/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Impact API client
=================

[](#impact-api-client)

[![Latest Stable Version](https://camo.githubusercontent.com/c9f3de442d3315f8b190bf42b1b6273237a8898497e411b36f0593a8ab1e7c9e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77686974656c6162656c65642f696d706163742d6170692d636c69656e742e737667)](https://packagist.org/packages/whitelabeled/impact-api-client)[![Total Downloads](https://camo.githubusercontent.com/68093fbfc40999efaf2d7eb05f7a972ee2e0927bb8e6b6a0ca13fc0a84a1905d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77686974656c6162656c65642f696d706163742d6170692d636c69656e742e737667)](https://packagist.org/packages/whitelabeled/impact-api-client)[![License](https://camo.githubusercontent.com/2cb9959a8700c8740339cf320fb416568ba474a0f9ab446c18ffdad1dea081c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77686974656c6162656c65642f696d706163742d6170692d636c69656e742e737667)](https://packagist.org/packages/whitelabeled/impact-api-client)

Library to retrieve sales from the [Impact Partner API](https://integrations.impact.com/impact-publisher/reference/overview). This API is intended for publishers who would like to automatically import transaction data ("Actions").

Usage:

```
$client = new \Whitelabeled\ImpactApiClient\ImpactClient('AccountSID', 'AuthToken');

$transactions = $client->getTransactions(new DateTime('2024-11-01 00:00:00'), new DateTime('2024-12-01 00:00:00'));

var_dump($transactions);

/* Returns:

array(56) {
  [0]=>
  object(Whitelabeled\ImpactApiClient\Transaction)#6 (13) {
    ["id"]=>
    string(17) "12681.6152.114555"
    ["transactionDate"]=>
    object(DateTime)#7 (3) {
      ["date"]=>
      string(26) "2024-11-04 12:08:57.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["clickDate"]=>
    object(DateTime)#26 (3) {
      ["date"]=>
      string(26) "2024-10-22 17:10:33.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+02:00"
    }
    ["program"]=>
    string(9) "Raisin NL"
    ["action"]=>
    string(12) "Registration"
    ["campaignId"]=>
    string(5) "12681"
    ["status"]=>
    string(7) "PENDING"
    ["commissionAmount"]=>
    float(0)
    ["subId1"]=>
    string(0) ""
    ["subId2"]=>
    string(0) ""
    ["subId3"]=>
    string(0) ""
    ["sharedId"]=>
    string(0) ""
    ["referringDomain"]=>
    string(12) "www.website.nl"
  }
  [1]=>
  object(Whitelabeled\ImpactApiClient\Transaction)#25 (13) {
    ["id"]=>
    string(17) "12681.6156.146847"
    ["transactionDate"]=>
    object(DateTime)#24 (3) {
      ["date"]=>
      string(26) "2024-11-08 13:47:35.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["clickDate"]=>
    object(DateTime)#21 (3) {
      ["date"]=>
      string(26) "2024-11-08 08:54:06.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["program"]=>
    string(9) "Raisin NL"
    ["action"]=>
    string(12) "Registration"
    ["campaignId"]=>
    string(5) "12681"
    ["status"]=>
    string(7) "PENDING"
    ["commissionAmount"]=>
    float(0)
    ["subId1"]=>
    string(0) ""
    ["subId2"]=>
    string(0) ""
    ["subId3"]=>
    string(0) ""
    ["sharedId"]=>
    string(0) ""
    ["referringDomain"]=>
    string(12) "www.website.nl"
  }
  [2]=>
  object(Whitelabeled\ImpactApiClient\Transaction)#14 (13) {
    ["id"]=>
    string(18) "12681.6156.1638448"
    ["transactionDate"]=>
    object(DateTime)#13 (3) {
      ["date"]=>
      string(26) "2024-11-09 08:49:08.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["clickDate"]=>
    object(DateTime)#12 (3) {
      ["date"]=>
      string(26) "2024-11-09 08:41:15.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["program"]=>
    string(9) "Raisin NL"
    ["action"]=>
    string(12) "Registration"
    ["campaignId"]=>
    string(5) "12681"
    ["status"]=>
    string(7) "PENDING"
    ["commissionAmount"]=>
    float(0)
    ["subId1"]=>
    string(15) "subid1_tracking"
    ["subId2"]=>
    string(0) ""
    ["subId3"]=>
    string(0) ""
    ["sharedId"]=>
    string(0) ""
    ["referringDomain"]=>
    string(12) "www.website.nl"
  }
  [3]=>
  object(Whitelabeled\ImpactApiClient\Transaction)#10 (13) {
    ["id"]=>
    string(16) "12681.6158.29866"
    ["transactionDate"]=>
    object(DateTime)#11 (3) {
      ["date"]=>
      string(26) "2024-11-10 10:13:34.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["clickDate"]=>
    object(DateTime)#31 (3) {
      ["date"]=>
      string(26) "2024-10-29 21:45:35.000000"
      ["timezone_type"]=>
      int(1)
      ["timezone"]=>
      string(6) "+01:00"
    }
    ["program"]=>
    string(9) "Raisin NL"
    ["action"]=>
    string(12) "Registration"
    ["campaignId"]=>
    string(5) "12681"
    ["status"]=>
    string(7) "PENDING"
    ["commissionAmount"]=>
    float(0)
    ["subId1"]=>
    string(0) ""
    ["subId2"]=>
    string(0) ""
    ["subId3"]=>
    string(0) ""
    ["sharedId"]=>
    string(0) ""
    ["referringDomain"]=>
    string(12) "www.website.nl"
  }
}
*/
```

License
-------

[](#license)

© Keuze.nl BV

MIT license, see [LICENSE.txt](LICENSE.txt) for details.

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance42

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

478d ago

### Community

Maintainers

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

---

Top Contributors

[![geertw](https://avatars.githubusercontent.com/u/683915?v=4)](https://github.com/geertw "geertw (3 commits)")

### Embed Badge

![Health badge](/badges/whitelabeled-impact-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/whitelabeled-impact-api-client/health.svg)](https://phpackages.com/packages/whitelabeled-impact-api-client)
```

PHPackages © 2026

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