PHPackages                             barbushin/laravel-datadog-helper - 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. barbushin/laravel-datadog-helper

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

barbushin/laravel-datadog-helper
================================

A Laravel Datadog helper package.

0.10.3(6y ago)0711MITPHPPHP &gt;=5.4.0

Since Aug 2Pushed 6y agoCompare

[ Source](https://github.com/barbushin/laravel-datadog-helper)[ Packagist](https://packagist.org/packages/barbushin/laravel-datadog-helper)[ Docs](https://github.com/chaseconey/laravel-datadog-helper)[ RSS](/packages/barbushin-laravel-datadog-helper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (12)Used By (0)

laravel-datadog-helper
======================

[](#laravel-datadog-helper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d69312e9ea76b6d3f7f48434f3f1af32b1097f77f3c147151836923523f204e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368617365636f6e65792f6c61726176656c2d64617461646f672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chaseconey/laravel-datadog-helper)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/66b7bcfe0f37b654d37fd563d670bc6b4c899923c08250f6409e988a304fbe16/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6368617365636f6e65792f6c61726176656c2d64617461646f672d68656c7065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/chaseconey/laravel-datadog-helper)[![Coverage Status](https://camo.githubusercontent.com/2167fb0614de6d52f006755681de9cc70b6a57c56642bd6dcafe01e060849576/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6368617365636f6e65792f6c61726176656c2d64617461646f672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/chaseconey/laravel-datadog-helper/code-structure)[![Quality Score](https://camo.githubusercontent.com/71efd53b5f4405d8ae1ee9b18ee0f96fc513081f7a46a19f277fe85ef459550f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6368617365636f6e65792f6c61726176656c2d64617461646f672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/chaseconey/laravel-datadog-helper)[![Total Downloads](https://camo.githubusercontent.com/59437ca6c68a25eb8e07299da28d713a207aba17b8a21db3c32170d51d383b41/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368617365636f6e65792f6c61726176656c2d64617461646f672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chaseconey/laravel-datadog-helper)[![StyleCI](https://camo.githubusercontent.com/5675c3f8a62c0fd0b626fbf9b174d8e2b84facef621287179872649ca742f586/68747470733a2f2f7374796c6563692e696f2f7265706f732f36343736333839352f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/64763895)

Laravel Datadog Helper helps you get your application metrics integrated into Laravel as fast as possible.

### Requirements

[](#requirements)

- Laravel &gt;= 5
- Datadog API Key

### Features

[](#features)

- Adds Datadog facade that wraps the official [DataDog/php-datadogstatsd](https://github.com/DataDog/php-datadogstatsd) library
- Provides middleware for tracking response time metrics automatically
- Allows prefixing all metrics that are sent for the whole application with common prefix

Installation
------------

[](#installation)

Require this package with composer.

```
composer require chaseconey/laravel-datadog-helper

```

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

If you would like to install the request metric tracking middleware, add the Datadog middleware class like so:

```

// app/Http/Kernel.php

protected $middleware = [
    ...

    \ChaseConey\LaravelDatadogHelper\Middleware\LaravelDatadogMiddleware::class
];

```

### Without Auto-Discovery (or Laravel &lt; 5.5)

[](#without-auto-discovery-or-laravel--55)

If you don't use auto-discovery, or you are using an older version of Laravel, add the ServiceProvider to the providers array in `config/app.php`

```

// config/app.php

'providers' => [
    ...

    ChaseConey\LaravelDatadogHelper\LaravelDatadogHelperServiceProvider::class,
];

```

If you want to use the facade, add this to your facades in `config/app.php`:

```

// config/app.php

'aliases' => [
    ...

    'Datadog' => ChaseConey\LaravelDatadogHelper\Datadog::class
];

```

For configuration options, copy the package config to your local config with the publish command:

```
php artisan vendor:publish --provider="ChaseConey\LaravelDatadogHelper\LaravelDatadogHelperServiceProvider"

```

Examples
--------

[](#examples)

This library wraps the official [DataDog/php-datadogstatsd](https://github.com/DataDog/php-datadogstatsd) library. All functions are inherited from the core implementation provided by this library with the exception of replacing `Datadogstatsd` with `Datadog` (the facade).

For example:

Instead of doing `Datadogstatsd::increment('my.sweet.metrics')`, you would use `Datadog::increment('my.sweet.metrics')`.

For a full set of usage examples, [check out the library's usage README](https://github.com/DataDog/php-datadogstatsd#usage).

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Credits
-------

[](#credits)

- [Chase Coney](https://github.com/chaseconey)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Every ~133 days

Recently: every ~125 days

Total

9

Last Release

2500d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e9cc315f329ac9d4c255d75b21fbf435358595a1c6f6246d4923477ccabd1f7?d=identicon)[barbushin](/maintainers/barbushin)

---

Top Contributors

[![chaseconey](https://avatars.githubusercontent.com/u/1449463?v=4)](https://github.com/chaseconey "chaseconey (26 commits)")[![barbushin](https://avatars.githubusercontent.com/u/683352?v=4)](https://github.com/barbushin "barbushin (5 commits)")[![jcalonso](https://avatars.githubusercontent.com/u/664474?v=4)](https://github.com/jcalonso "jcalonso (1 commits)")[![nekodex](https://avatars.githubusercontent.com/u/272140?v=4)](https://github.com/nekodex "nekodex (1 commits)")[![NoelDeMartin](https://avatars.githubusercontent.com/u/1517677?v=4)](https://github.com/NoelDeMartin "NoelDeMartin (1 commits)")

---

Tags

chaseconeylaravel-datadog-helper

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/barbushin-laravel-datadog-helper/health.svg)

```
[![Health](https://phpackages.com/badges/barbushin-laravel-datadog-helper/health.svg)](https://phpackages.com/packages/barbushin-laravel-datadog-helper)
```

###  Alternatives

[chaseconey/laravel-datadog-helper

A Laravel Datadog helper package.

742.3M](/packages/chaseconey-laravel-datadog-helper)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[beyondcode/laravel-server-timing

Add Server-Timing header information from within your Laravel apps.

5712.0M1](/packages/beyondcode-laravel-server-timing)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)

PHPackages © 2026

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