PHPackages                             konstantin-kuklin/yandex-metrika - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. konstantin-kuklin/yandex-metrika

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

konstantin-kuklin/yandex-metrika
================================

Yandex Metrika extensions for your Symfony2 project.

1.0.0(13y ago)3206[1 PRs](https://github.com/KonstantinKuklin/YandexMetrikaBundle/pulls)MITPHP

Since Dec 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/KonstantinKuklin/YandexMetrikaBundle)[ Packagist](https://packagist.org/packages/konstantin-kuklin/yandex-metrika)[ Docs](https://github.com/KonstantinKuklin/YandexMetrikaBundle)[ RSS](/packages/konstantin-kuklin-yandex-metrika/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

YandexMetrikaBundle
===================

[](#yandexmetrikabundle)

Yandex Metrika Bundle для простой установки счетчика метрики.

Установка для Symfony 2.0
-------------------------

[](#установка-для-symfony-20)

### Файл deps

[](#файл-deps)

```
[YandexMetrikaBundle]
    git=git://github.com/KonstantinKuklin/YandexMetrikaBundle
    target=/bundles/KonstantinKuklin/Bundle/YandexMetrikaBundle

```

### Файл autoload.php

[](#файл-autoloadphp)

```
'KonstantinKuklin'                          => __DIR__.'/../vendor/bundles',

```

### Файл AppKernel.php

[](#файл-appkernelphp)

Добавьте YandexMetrikaBundle() в тело метода `registerBundles()`:

```
new KonstantinKuklin\Bundle\YandexMetrikaBundle\YandexMetrikaBundle(),

```

Установка для Symfony 2.1
-------------------------

[](#установка-для-symfony-21)

```
php composer.phar require konstantin-kuklin/yandex-metrika --no-update

```

Шаблон
------

[](#шаблон)

Для отображения кода метрики в нужном месте вставьте `{{ yandex_metrika_init() }}`

Полный app/config.yml
---------------------

[](#полный-appconfigyml)

```
yandex_metrika:
    id:                  123123123 # Ваш ID
    webvisor:            false # Вебвизор
    clickmap:            true # Карта вкликов
    trackLinks:          true # Внешние ссылки, загрузки файлов и отчет по кнопке поделиться
    accurateTrackBounce: true # Точный показатель отказов
    trackHash:           true # Отслеживание хеша в адресной строке

```

Необходимый минимум app/config.yml
----------------------------------

[](#необходимый-минимум-appconfigyml)

```
yandex_metrika:
    id:                  123123123 # Ваш ID

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

4902d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14bf2bc19526615387e37a0e04bb5110ec344663a6bc8e95c3b9947cd5b9808c?d=identicon)[KonstantinKuklin](/maintainers/KonstantinKuklin)

---

Top Contributors

[![KonstantinKuklin](https://avatars.githubusercontent.com/u/573586?v=4)](https://github.com/KonstantinKuklin "KonstantinKuklin (5 commits)")

---

Tags

Symfony2yandexmetrikayandex-metrika

### Embed Badge

![Health badge](/badges/konstantin-kuklin-yandex-metrika/health.svg)

```
[![Health](https://phpackages.com/badges/konstantin-kuklin-yandex-metrika/health.svg)](https://phpackages.com/packages/konstantin-kuklin-yandex-metrika)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[arcanedev/seo-helper

SEO Helper is a framework agnostic package that provides tools &amp; helpers for SEO (Laravel supported).

332467.0k4](/packages/arcanedev-seo-helper)[hcodes/server_yametrika

Server-side tracking of visitors using Yandex.Metrica

7220.2k](/packages/hcodes-server-yametrika)[alexusmai/yandex-metrika

Laravel - Yandex Metrika

4436.7k](/packages/alexusmai-yandex-metrika)[dmishh/settings-bundle

Database centric Symfony configuration management. Global and per-user settings supported.

115254.9k1](/packages/dmishh-settings-bundle)

PHPackages © 2026

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