PHPackages                             rtbhouse/sdk - 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. rtbhouse/sdk

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

rtbhouse/sdk
============

RTB House SDK

8.1.2(3mo ago)444.7k↓13.6%4[1 issues](https://github.com/rtbhouse-apps/rtbhouse-php-sdk/issues)MITPHPPHP ^7.4 || ^8CI passing

Since Jun 4Pushed yesterday5 watchersCompare

[ Source](https://github.com/rtbhouse-apps/rtbhouse-php-sdk)[ Packagist](https://packagist.org/packages/rtbhouse/sdk)[ RSS](/packages/rtbhouse-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (4)Versions (20)Used By (0)

RTB House SDK
=============

[](#rtb-house-sdk)

Overview
--------

[](#overview)

This library provides an easy-to-use PHP interface to RTB House API. It allows you to read and manage you campaigns settings, browse offers, download statistics etc.

API docs:

Installation
------------

[](#installation)

RTB House SDK can be installed with [composer](https://getcomposer.org/):

```
$ composer require rtbhouse/sdk
```

Usage example
-------------

[](#usage-example)

Let's write a script which fetches campaign stats (imps, clicks, postclicks) and shows the result.

First, create `config.php` file with your credentials:

```
define('USERNAME', 'jdoe');
define('PASSWORD', 'abcd1234');
```

Then create `example.php` with code:

```
require_once('vendor/autoload.php');
require_once('config.php');

$api = new \RTBHouse\ReportsApi\ReportsApiSession(USERNAME, PASSWORD);
$advertisers = $api->getAdvertisers();
$stats = $api->getSummaryStats(
    $advertisers[0]['hash'],
    '2020-10-01',
    '2020-10-31',
    ['day'],
    ['impsCount', 'clicksCount', 'campaignCost', 'conversionsCount', 'ctr'],
    \RTBHouse\ReportsApi\Conversions::ATTRIBUTED_POST_CLICK
);
print_r($stats);
```

License
-------

[](#license)

[MIT](http://opensource.org/licenses/MIT/)

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~167 days

Recently: every ~296 days

Total

18

Last Release

113d ago

Major Versions

3.0.0 → 4.0.02020-07-31

4.0.0 → 5.0.02020-10-19

5.0.2 → 6.0.02021-03-03

6.0.0 → 7.0.02021-04-26

7.0.1 → 8.0.02023-04-13

PHP version history (3 changes)1.1PHP ^7.0

5.0.2PHP ^7 || ^8

8.1.0PHP ^7.4 || ^8

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/1c2120b0b7d9d93f39c9d6fd8c387dbada84e8de0fe0362c82615e40ed6e1029?d=identicon)[rtb\_hzegota](/maintainers/rtb_hzegota)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (39 commits)")[![peku33](https://avatars.githubusercontent.com/u/8615581?v=4)](https://github.com/peku33 "peku33 (15 commits)")[![abahdanovich-rtbh](https://avatars.githubusercontent.com/u/1276152?v=4)](https://github.com/abahdanovich-rtbh "abahdanovich-rtbh (11 commits)")[![kamilglod](https://avatars.githubusercontent.com/u/8168459?v=4)](https://github.com/kamilglod "kamilglod (7 commits)")[![skubiak-rtbh](https://avatars.githubusercontent.com/u/93592227?v=4)](https://github.com/skubiak-rtbh "skubiak-rtbh (5 commits)")[![jacek-jablonski](https://avatars.githubusercontent.com/u/35669512?v=4)](https://github.com/jacek-jablonski "jacek-jablonski (3 commits)")[![hzeg](https://avatars.githubusercontent.com/u/50139097?v=4)](https://github.com/hzeg "hzeg (2 commits)")[![jkbak](https://avatars.githubusercontent.com/u/46315696?v=4)](https://github.com/jkbak "jkbak (1 commits)")[![kmasuhr](https://avatars.githubusercontent.com/u/16387473?v=4)](https://github.com/kmasuhr "kmasuhr (1 commits)")[![hzegota-rtbh](https://avatars.githubusercontent.com/u/118168796?v=4)](https://github.com/hzegota-rtbh "hzegota-rtbh (1 commits)")[![bgoral-rtbh](https://avatars.githubusercontent.com/u/209458641?v=4)](https://github.com/bgoral-rtbh "bgoral-rtbh (1 commits)")

---

Tags

area-stats

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rtbhouse-sdk/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

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

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

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

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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