Package Data | |
---|---|
Maintainer Username: | katzefudder |
Maintainer Contact: | flo@katzefudder.de (Florian Dehn) |
Package Create Date: | 2017-08-18 |
Package Last Update: | 2017-08-19 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-23 03:07:42 |
Package Statistics | |
---|---|
Total Downloads: | 17 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This Laravel 5 package provides a very easy to use solution to send data to statsd
Simply with Composer
composer require katzefudder/laravel_statsd
Add StatsdServiceProvider
to providers' array
Add StatsdFacade
to alias' array
# config.php
'providers' => [
...
Katzefudder\Statsd\StatsdServiceProvider::class
...
];
'aliases' => [
...
'Statsd' => Katzefudder\Statsd\StatsdFacade::class
...
];
Use the facade to send data from Laravel context
StatsdFacade::send('metric.name', '1');