PHPackages                             nk2ge5k/yandex-direct-api - 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. nk2ge5k/yandex-direct-api

AbandonedArchivedLibrary[API Development](/categories/api)

nk2ge5k/yandex-direct-api
=========================

Client for Yandex.Direct API v5

v1.4.0(9y ago)1111.8k6MITPHP

Since Jul 18Pushed 7y ago7 watchersCompare

[ Source](https://github.com/nk2ge5k/yandex-direct-api)[ Packagist](https://packagist.org/packages/nk2ge5k/yandex-direct-api)[ RSS](/packages/nk2ge5k-yandex-direct-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (4)Versions (11)Used By (0)

yandex-direct-api
=================

[](#yandex-direct-api)

[Offical yandex direct API documentation](https://tech.yandex.ru/direct/doc/dg/concepts/about-docpage/?ncrnd=6456)

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

[](#installation)

```
composer require nk2ge5k/yandex-direct-api

```

Usage
-----

[](#usage)

```
use directapi/DirectApiService;
use directapi/services/campaigns/criterias/CampaignsSelectionCriteria;
use directapi/services/campaigns/enum/CampaignStateEnum;
use directapi/services/campaigns/enum/CampaignFieldEnum;

$token = YOUR_TOKEN;
$login = CLIENT_LOGIN;

$client = new DirectApiService($token, $login);

$campaigns = $client
    ->getCampaignsService()
    ->get(
        new CampaignsSelectionCriteria(
            [
                'States' => [
                    CampaignStateEnum::ON
                ]
            ]
        ),
        CampaignFieldEnum::getValues()
    );

foreach ( $campaigns as $campaign ) {
    // do something
}
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~10 days

Total

9

Last Release

3506d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/445a1405fe00a963c12d76c236931c92bd24d512dc15000b165cc3c579036013?d=identicon)[nk2ge5k](/maintainers/nk2ge5k)

---

Top Contributors

[![nk2ge5k](https://avatars.githubusercontent.com/u/5111565?v=4)](https://github.com/nk2ge5k "nk2ge5k (136 commits)")[![Cimus](https://avatars.githubusercontent.com/u/10470794?v=4)](https://github.com/Cimus "Cimus (2 commits)")[![den-kuz](https://avatars.githubusercontent.com/u/15865994?v=4)](https://github.com/den-kuz "den-kuz (1 commits)")[![G1K](https://avatars.githubusercontent.com/u/12802312?v=4)](https://github.com/G1K "G1K (1 commits)")

---

Tags

phpyandexyandex-directapiyandexdirect

### Embed Badge

![Health badge](/badges/nk2ge5k-yandex-direct-api/health.svg)

```
[![Health](https://phpackages.com/badges/nk2ge5k-yandex-direct-api/health.svg)](https://phpackages.com/packages/nk2ge5k-yandex-direct-api)
```

###  Alternatives

[yandex/geo

PHP-library for interactions with geo-coding Yandex.Maps

117309.0k3](/packages/yandex-geo)[jasonroman/nba-api

PHP Library to request data from various endpoints on NBA websites

994.6k](/packages/jasonroman-nba-api)[gladyshev/yandex-direct-client

Useful Yandex.Direct API v5 client.

1912.0k](/packages/gladyshev-yandex-direct-client)[webit/w-firma-api

wFirma.pl API

1820.2k](/packages/webit-w-firma-api)[hardworm/webmaster.api

Yandex Webmaster Api v4.1 library

109.7k](/packages/hardworm-webmasterapi)

PHPackages © 2026

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