PHPackages                             lfg/yii2-datadog-target - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. lfg/yii2-datadog-target

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

lfg/yii2-datadog-target
=======================

Datadog Log Target

0.1(9y ago)024.9k↓27.3%[3 issues](https://github.com/landau-fg/yii2-datadog-target/issues)proprietaryPHP

Since Sep 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/landau-fg/yii2-datadog-target)[ Packagist](https://packagist.org/packages/lfg/yii2-datadog-target)[ RSS](/packages/lfg-yii2-datadog-target/feed)WikiDiscussions master Synced 1mo ago

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

Yii2 Log Target for Datadog
===========================

[](#yii2-log-target-for-datadog)

INSTALL
=======

[](#install)

```
composer require "lfg\yii2-datadog-target"

```

USAGE
=====

[](#usage)

Add new log target in application configuration:

```
    'log'           => [
        'targets'    => [
            'datadog' => [
                'class' => 'lfg\DatadogCounter',
                'levels' => ['error', 'warning'],
                'tags' => ['tag1', 'tag2'], // optional
                'metricPrefix' => 'front', // required
            ],
        ],
    ],

```

### TODO

[](#todo)

- Send events to Datadog

### LINKS

[](#links)

- [Datadog](https://www.datadoghq.com/)
- [Yii2 log documentation](http://www.yiiframework.com/doc-2.0/guide-runtime-logging.html)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

3541d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/312140a236c5133ed100b2c4643077a81279346e15f78654da298599e3f71be3?d=identicon)[zhukovra](/maintainers/zhukovra)

![](https://www.gravatar.com/avatar/535fd963fb76797f8917f53226d8fb56de1e875721f8254ab72e3054b789a5c5?d=identicon)[lfg](/maintainers/lfg)

---

Top Contributors

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

---

Tags

datadogloggingyii2yii2-extension

### Embed Badge

![Health badge](/badges/lfg-yii2-datadog-target/health.svg)

```
[![Health](https://phpackages.com/badges/lfg-yii2-datadog-target/health.svg)](https://phpackages.com/packages/lfg-yii2-datadog-target)
```

###  Alternatives

[bedezign/yii2-audit

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.

201657.4k4](/packages/bedezign-yii2-audit)[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)

PHPackages © 2026

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