PHPackages                             infrajs/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. infrajs/metrika

ActiveLibrary

infrajs/metrika
===============

1.0.0(10y ago)122GPL3PHP

Since Mar 25Pushed 8y ago2 watchersCompare

[ Source](https://github.com/infrajs/metrika)[ Packagist](https://packagist.org/packages/infrajs/metrika)[ Docs](https://github.com/infrajs/metrika)[ RSS](/packages/infrajs-metrika/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Кэширование Яндекс.Метрики для прохождения Google PageSpeed Insights
====================================================================

[](#кэширование-яндексметрики-для-прохождения-google-pagespeed-insights)

**Disclaimer:** Module is not complete and not ready for use yet.

К скрипту метрики [watch.js](https://mc.yandex.ru/metrika/watch.js) добавляются нужные заголовки для прохождения теста [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights/). Нужно скорректировав код метрики. Путь до watch.js заменить на /vendor/akiyatkin/metrika/watch.php

В асинхронном коде метрики надо сделать вот так

```
//s.src = "https://mc.yandex.ru/metrika/watch.js";
s.src = "/vendor/infrajs/metrika/watch.php";

```

Infrajs
=======

[](#infrajs)

Поддерживаются короткие адреса `/-plugin/file.php` с [infrajs/path](https://github.com/infrajs/path)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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

3703d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/341a8ef8a06866ad99b1bbcf0216fd8e331b076b1690a7d992c386192674b787?d=identicon)[akiyatkin](/maintainers/akiyatkin)

---

Top Contributors

[![akiyatkin](https://avatars.githubusercontent.com/u/953753?v=4)](https://github.com/akiyatkin "akiyatkin (2 commits)")

### Embed Badge

![Health badge](/badges/infrajs-metrika/health.svg)

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

PHPackages © 2026

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