PHPackages                             linkprofit-cpa/tracker-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. [API Development](/categories/api)
4. /
5. linkprofit-cpa/tracker-client

ActiveLibrary[API Development](/categories/api)

linkprofit-cpa/tracker-client
=============================

Tracker API client

0.5.1(7y ago)0111MITPHPPHP &gt;=5.6.0

Since Apr 17Pushed 7y ago3 watchersCompare

[ Source](https://github.com/linkprofit-cpa/tracker-client)[ Packagist](https://packagist.org/packages/linkprofit-cpa/tracker-client)[ Docs](https://github.com/linkprofit-cpa/tracker-client)[ RSS](/packages/linkprofit-cpa-tracker-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (6)Versions (12)Used By (0)

Tracker Client
==============

[](#tracker-client)

[![Latest Stable Version](https://camo.githubusercontent.com/346e8e12555317986bbe05cc7611d621efc9d97807149c47f12600888b3e5679/68747470733a2f2f706f7365722e707567782e6f72672f6c696e6b70726f6669742d6370612f747261636b65722d636c69656e742f762f737461626c65)](https://packagist.org/packages/linkprofit-cpa/tracker-client)[![Build Status](https://camo.githubusercontent.com/72c565d039dc564c2df3015736bf6d761a0726f860d44590d518087aa574e338/68747470733a2f2f7472617669732d63692e6f72672f6c696e6b70726f6669742d6370612f747261636b65722d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/linkprofit-cpa/tracker-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cfe6f629e5a9970288c7e677e4fa4e9056f8048e43febddd522c9058c9f2246b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c696e6b70726f6669742d6370612f747261636b65722d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/linkprofit-cpa/tracker-client/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/fd465e7dbb8244f3f477c07db386b666f6c65f05d07184e77fd1daaa30ef6994/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c696e6b70726f6669742d6370612f747261636b65722d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/linkprofit-cpa/tracker-client/?branch=master)[![License](https://camo.githubusercontent.com/b3daeedb619407b4387be6f369f06b16adb3c9aac82102a47652daf9e0e9ae69/68747470733a2f2f706f7365722e707567782e6f72672f6c696e6b70726f6669742d6370612f747261636b65722d636c69656e742f6c6963656e7365)](https://packagist.org/packages/linkprofit-cpa/tracker-client)

Описание
--------

[](#описание)

Библиотека для взаимодействия с API трекера cpa-сети LINKPROFIT

Установка
---------

[](#установка)

`composer require linkprofit-cpa/tracker-client`

Пример
------

[](#пример)

### Создание соединения

[](#создание-соединения)

```
$connection = new \linkprofit\Tracker\Connection();

/* указываем параметры соединения */
$connection->userName = '';
$connection->userPassword = '';
$connection->apiUrl = '';
$connection->accessLevel = \linkprofit\Tracker\AccessLevel::USER;

/* создаем клиент и подключаемся к трекеру */
$client = new \linkprofit\Tracker\Client($connection);
$client->connect();
```

### Формируем запросы

[](#формируем-запросы)

[Для офферов](docs/offers.md)

[Для пользователей](docs/users.md)

[Для категорий](docs/categories.md)

### Выполняем запросы и получаем данные

[](#выполняем-запросы-и-получаем-данные)

```
$response = $client->exec($route);
$response->handle();
```

Дополнительные параметры
------------------------

[](#дополнительные-параметры)

Вы можете использовать кеш, отвечающий `PSR-16` стандарту `simple-cache`

```
$client->setCache($client->getDefaultFileCache());
```

Вы можете создать свой `ResponseHandler`, который имплементит `ResponseHandlerInterface`, трансформирующий ответ сервера в нужный вам формат. По умолчанию используется `ArrayResponseHandler`.

```
$client->setResponseHandler(new ArrayResponseHandler());
```

Лицензия
--------

[](#лицензия)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.7% 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 ~12 days

Recently: every ~22 days

Total

10

Last Release

2836d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9060150?v=4)[Konstantin](/maintainers/Phrlog)[@Phrlog](https://github.com/Phrlog)

---

Top Contributors

[![Phrlog](https://avatars.githubusercontent.com/u/9060150?v=4)](https://github.com/Phrlog "Phrlog (128 commits)")[![nafigator](https://avatars.githubusercontent.com/u/1971423?v=4)](https://github.com/nafigator "nafigator (3 commits)")

---

Tags

apitracker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/linkprofit-cpa-tracker-client/health.svg)

```
[![Health](https://phpackages.com/badges/linkprofit-cpa-tracker-client/health.svg)](https://phpackages.com/packages/linkprofit-cpa-tracker-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)

PHPackages © 2026

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