PHPackages                             mesilov/yandex-dialogs-php-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. mesilov/yandex-dialogs-php-sdk

ActiveLibrary

mesilov/yandex-dialogs-php-sdk
==============================

Yandex dialogs API PHP-wrapper

26227↓100%4PHP

Since Aug 8Pushed 7y ago5 watchersCompare

[ Source](https://github.com/mesilov/yandex-dialogs-php-sdk)[ Packagist](https://packagist.org/packages/mesilov/yandex-dialogs-php-sdk)[ RSS](/packages/mesilov-yandex-dialogs-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yandex-dialogs-php-sdk
======================

[](#yandex-dialogs-php-sdk)

Репозиторий PHP-библиотеки для облегчения работы с диалогами

Пример использования
--------------------

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

```
// получаем входящий API-запрос
$apiRequestArray = json_decode(trim(file_get_contents('php://input')), true);

$dialogRequest = Yandex\Dialogs\Webhook\Request\Fabric::initFromArray($apiRequestArray);
$responseFabric = new Yandex\Dialogs\Webhook\Response\Fabric($dialogRequest);

$button1 = new Yandex\Dialogs\Webhook\Response\DTO\Buttons\Button();
$button1
    ->setTitle('Кнопка1')
    ->setUrl('https://ya.ru');

$button2 = new Yandex\Dialogs\Webhook\Response\DTO\Buttons\Button();
$button2
    ->setTitle('Кнопка2');

$response = $responseFabric
    ->setText('Привет')
    ->setTts('Привет')
    ->addButton($button1)
    ->addButton($button2)
    ->buildResponse();

header('Content-Type: application/json');
print(json_encode(Yandex\Dialogs\Webhook\Response\Formatters\Formatter::toArray($response), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT));
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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.

### Community

Maintainers

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

---

Top Contributors

[![mesilov](https://avatars.githubusercontent.com/u/1843965?v=4)](https://github.com/mesilov "mesilov (7 commits)")[![b24io-sdk](https://avatars.githubusercontent.com/u/32178121?v=4)](https://github.com/b24io-sdk "b24io-sdk (1 commits)")[![harlamoff](https://avatars.githubusercontent.com/u/21295451?v=4)](https://github.com/harlamoff "harlamoff (1 commits)")

---

Tags

alicealice-sdkalice-skillsalisaphpsdkyandexyandex-alisayandex-dialogs

### Embed Badge

![Health badge](/badges/mesilov-yandex-dialogs-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/mesilov-yandex-dialogs-php-sdk/health.svg)](https://phpackages.com/packages/mesilov-yandex-dialogs-php-sdk)
```

PHPackages © 2026

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