PHPackages                             buyakova/yii2-yandex-webmaster - 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. buyakova/yii2-yandex-webmaster

ActiveYii2-extension[API Development](/categories/api)

buyakova/yii2-yandex-webmaster
==============================

Api wrapper for webmaster.yandex.ru for yii

0.1(7y ago)179MITPHP

Since Oct 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/buyakova/yii2-yandex-webmaster)[ Packagist](https://packagist.org/packages/buyakova/yii2-yandex-webmaster)[ RSS](/packages/buyakova-yii2-yandex-webmaster/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Класс для работы с api webmaster.yandex.ru
==========================================

[](#класс-для-работы-с-api-webmasteryandexru)

composer require klisl/yii2-mytest

Возможности
-----------

[](#возможности)

1. Добавление сайта в вебмастер
2. Получение кода верификации
3. Подтверждение прав на сайт
4. Добавление карты сайта

Зависимости
-----------

[](#зависимости)

1. Yii2
2. Http-client (included with Yii)

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

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

Можно установить пакет с помощью [composer](https://getcomposer.org/).

Выполнив команду

`php composer.phar require --prefer-dist buyakova/yii2-yandex-webmaster "*"`

или добавив

`"buyakova/yii2-yandex-webmaster": "*"`

в ваш `composer.json`.

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

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

```
public function addWebmaster($model)
{
    $token = Yii::$app->params['yandex_webmaster_token'];
    $url = 'http://test.website.com';

    $webmaster = new YandexWebmaster($token);
    $host_id = $webmaster->addWebsite($url);
    $uin = $webmaster->getVerify($host_id);

    $model->yandex_webmaster_id = $host_id;
    $model->yandex_webmaster_uin = $uin;
    if ($model->save()) {
        return $webmaster->sendVerify($host_id);
    }
    return false;
}
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2814d ago

### Community

Maintainers

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

---

Top Contributors

[![EkaterinaBuyakova](https://avatars.githubusercontent.com/u/12337260?v=4)](https://github.com/EkaterinaBuyakova "EkaterinaBuyakova (1 commits)")

---

Tags

yii2extensionyandexwebmaster

### Embed Badge

![Health badge](/badges/buyakova-yii2-yandex-webmaster/health.svg)

```
[![Health](https://phpackages.com/badges/buyakova-yii2-yandex-webmaster/health.svg)](https://phpackages.com/packages/buyakova-yii2-yandex-webmaster)
```

PHPackages © 2026

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