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

ActiveLibrary

git407/yandex-direct-api
========================

Client for Yandex.Direct API v5

2020.04.15(6y ago)161MITPHPPHP &gt;=7.1.0

Since Dec 16Pushed 5y agoCompare

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

READMEChangelog (2)Dependencies (11)Versions (77)Used By (0)

PHP-обёртка над API Яндекс.Директ v5
====================================

[](#php-обёртка-над-api-яндексдирект-v5)

Набор классов для удобной работы с [API Яндекс.Директ](https://yandex.ru/dev/direct/).

[![Latest Stable Version](https://camo.githubusercontent.com/f0f4406be8feed7f6bbd5a9ca3c86e9ab77c11d1330ec0933e82d3e6b8e43555/68747470733a2f2f706f7365722e707567782e6f72672f7369746b6f72752f79616e6465782d6469726563742d6170692f762f737461626c65)](https://packagist.org/packages/sitkoru/yandex-direct-api) [![Total Downloads](https://camo.githubusercontent.com/02021022c6565be314750cdc92cc40ec4cfb66a4cf00464b9ff294b96e494a66/68747470733a2f2f706f7365722e707567782e6f72672f7369746b6f72752f79616e6465782d6469726563742d6170692f646f776e6c6f616473)](https://packagist.org/packages/sitkoru/yandex-direct-api) [![License](https://camo.githubusercontent.com/6723baaa804a0d3dce28c686984a284c37ecefb0ffa6dc91d72ada07a8cb3086/68747470733a2f2f706f7365722e707567782e6f72672f7369746b6f72752f79616e6465782d6469726563742d6170692f6c6963656e7365)](https://packagist.org/packages/sitkoru/yandex-direct-api)

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

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

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

Использование
-------------

[](#использование)

### Подготовка

[](#подготовка)

Необходимо инициировать аннотации. Замените

```
require __DIR__ . '/vendor/autoload.php';
```

На

```
$loader = require __DIR__ . '/vendor/autoload.php';
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
```

### Первый вызов

[](#первый-вызов)

Для примера, получим список активных кампаний аккаунта

```
$directApiService = new DirectApiService("ваш токен", "ваш логин");
$criteria = new CampaignsSelectionCriteria();
$criteria->States = [CampaignStateEnum::ON];
$campaigns = $directApiService->getCampaignsService()->get($criteria, CampaignFieldEnum::getValues());
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 74.5% 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 ~17 days

Recently: every ~44 days

Total

71

Last Release

2216d ago

Major Versions

2017.12.7 → 2018.1.12018-01-29

2018.12.2 → 2019.1.12019-01-24

2019.10.2 → 2020.02.012020-02-26

### Community

Maintainers

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

---

Top Contributors

[![SonicGD](https://avatars.githubusercontent.com/u/1222013?v=4)](https://github.com/SonicGD "SonicGD (202 commits)")[![KateAAAA](https://avatars.githubusercontent.com/u/8675207?v=4)](https://github.com/KateAAAA "KateAAAA (21 commits)")[![ovsenb](https://avatars.githubusercontent.com/u/137980043?v=4)](https://github.com/ovsenb "ovsenb (11 commits)")[![Crtex](https://avatars.githubusercontent.com/u/4453999?v=4)](https://github.com/Crtex "Crtex (8 commits)")[![slowcheetah](https://avatars.githubusercontent.com/u/11753373?v=4)](https://github.com/slowcheetah "slowcheetah (5 commits)")[![BrainsRage](https://avatars.githubusercontent.com/u/7159616?v=4)](https://github.com/BrainsRage "BrainsRage (5 commits)")[![pogromistik](https://avatars.githubusercontent.com/u/10812344?v=4)](https://github.com/pogromistik "pogromistik (5 commits)")[![git407](https://avatars.githubusercontent.com/u/10234065?v=4)](https://github.com/git407 "git407 (4 commits)")[![shude](https://avatars.githubusercontent.com/u/10113896?v=4)](https://github.com/shude "shude (4 commits)")[![KMETb](https://avatars.githubusercontent.com/u/22026758?v=4)](https://github.com/KMETb "KMETb (4 commits)")[![yasitko](https://avatars.githubusercontent.com/u/1772689?v=4)](https://github.com/yasitko "yasitko (1 commits)")[![anton-github](https://avatars.githubusercontent.com/u/1921450?v=4)](https://github.com/anton-github "anton-github (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M341](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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