PHPackages                             spiria-digital/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. spiria-digital/laravel-statsd

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

spiria-digital/laravel-statsd
=============================

Send to Statsd server from Laravel

v5.5.1(8y ago)1147MITPHP

Since Jan 24Pushed 8y agoCompare

[ Source](https://github.com/Spiria-Digital/laravel-statsd)[ Packagist](https://packagist.org/packages/spiria-digital/laravel-statsd)[ RSS](/packages/spiria-digital-laravel-statsd/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (8)Used By (0)

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

[![Packagist License](https://camo.githubusercontent.com/b5924d4b515082b8e54cd79c8ac6f34a2cd87907b0c3e593dd80839d7cb39380/68747470733a2f2f706f7365722e707567782e6f72672f62617272797664682f6c61726176656c2d64656275676261722f6c6963656e73652e706e67)](http://choosealicense.com/licenses/mit/)[![Build Status](https://camo.githubusercontent.com/6f6edf930ce4c9742f62051262546aea38733cc587f7cec98e9122e5a68e35d3/68747470733a2f2f7472617669732d63692e6f72672f5370697269612d4469676974616c2f6c61726176656c2d7374617473642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Spiria-Digital/laravel-statsd)

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

[](#installation)

Add `Spiria-Digital\laravel-statsd` package with composer

```
composer require Spiria-Digital/laravel-statsd:5.5.1
```

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

**Laravel &gt;5.5**

Since version 5.5, Laravel support Package Auto-Discovery, which means that Service Provider and aliases can be added automatically through the package composer file. Therefore, once Composer has installed or updated your packages Laravel-Statsd should be registered as a service provider and should provide the `Statsd` Facade.

**Laravel &lt;5.4**

If you are using an older verison of Laravel you must add the provider and the alias manually.

You can register Statsd with Laravel by opening up app/config/app.php and adding the providers key in the `providers` array:

```
'Spiria-Digital\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' => 'Spiria-Digital\Statsd\Facades\Statsd'
```

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

[](#configuration)

Statsd configuration file can be extended by creating `app/config/statsd.php`. You can find the default configuration file under `vendor/Spiria-Digital/laravel-statsd/config/config.php`.

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

```
$ php artisan config:publish Spiria-Digital/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.

This package is an updated version of rcrowe/laravel-statsd and has been tested with laravel 5.4+ only. It does not currently support Lumen.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~290 days

Recently: every ~398 days

Total

7

Last Release

3119d ago

Major Versions

v0.5.2 → v5.5.x-dev2017-10-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/32d9c7081fb10163de7ee2f828123bf3758cb503e66b3b926922158256acb9c1?d=identicon)[Spiria-Digital](/maintainers/Spiria-Digital)

---

Top Contributors

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

---

Tags

laravelstatsd

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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