PHPackages                             rcrowe/laravel-statsd - 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. rcrowe/laravel-statsd

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

rcrowe/laravel-statsd
=====================

Send to Statsd server from Laravel

v0.5.2(12y ago)2448.7k↓50%2[2 issues](https://github.com/rcrowe/laravel-statsd/issues)MITPHP

Since Jan 24Pushed 11y ago2 watchersCompare

[ Source](https://github.com/rcrowe/laravel-statsd)[ Packagist](https://packagist.org/packages/rcrowe/laravel-statsd)[ RSS](/packages/rcrowe-laravel-statsd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Allows you to seamlessly send data to a Statsd server from within your Laravel application.

[![Build Status](https://camo.githubusercontent.com/91729116fee5e6756789393c5494cc8eaf73db64308ec0395708359b4949ef0e/68747470733a2f2f7472617669732d63692e6f72672f7263726f77652f6c61726176656c2d7374617473642e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/rcrowe/laravel-statsd)

Installation
============

[](#installation)

Add `rcrowe\laravel-statsd` as a requirement to composer.json:

```
{
    "require": {
        "rcrowe/laravel-statsd": "0.5.*"
    }
}
```

Update your packages with `composer update` or install with `composer install`.

Once Composer has installed or updated your packages you need to register Statsd with Laravel itself. Open up app/config/app.php and find the providers key towards the bottom and add:

```
'rcrowe\Statsd\StatsdServiceProvider'
```

You will also need to register the facade so that you can access it within your application. To do this add the following to your aliases in app/config/app.php:

```
'Statsd' => 'rcrowe\Statsd\Facades\Statsd'
```

Configuration
=============

[](#configuration)

Statsd configuration file can be extended by creating `app/config/packages/rcrowe/laravel-statsd/config.php`. You can find the default configuration file at vendor/rcrowe/laravel-statsd/src/config/config.php.

You can quickly publish a configuration file by running the following Artisan command.

```
$ php artisan config:publish rcrowe/laravel-statsd

```

Usage
=====

[](#usage)

Laravel-Statsd exposes the following functions to send data to Statsd:

```
Statsd::timing($key, $time);
```

```
Statsd::gauge($key, $value);
```

```
Statsd::set($key, $value);
```

```
Statsd::increment($key);
```

```
Statsd::decrement($key);
```

```
Statsd::updateCount($key, $delta);
```

The data is automatically sent to Statsd at the end of Laravels life-cycle, but you can force data to be sent with:

```
Statsd::send()
```

Note: Data will only be sent to Statsd if your environment matches the environments defined in the config file.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Every ~73 days

Total

5

Last Release

4561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07866bb8494b78f654ccdb78c6322a5651cbb8d2a85eaa210db90d833ecd0927?d=identicon)[rcrowe](/maintainers/rcrowe)

---

Top Contributors

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

---

Tags

laravelstatsd

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rcrowe-laravel-statsd/health.svg)

```
[![Health](https://phpackages.com/badges/rcrowe-laravel-statsd/health.svg)](https://phpackages.com/packages/rcrowe-laravel-statsd)
```

###  Alternatives

[liuggio/statsd-client-bundle

Provides a statsd client and simple ready-to-use support for #Symfony2 Application

164730.7k](/packages/liuggio-statsd-client-bundle)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[moesif/moesif-laravel

Moesif Collection/Data Ingestion Middleware for Laravel

1065.8k](/packages/moesif-moesif-laravel)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)

PHPackages © 2026

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