PHP code example of rcrowe / laravel-statsd

1. Go to this page and download the library: Download rcrowe/laravel-statsd library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rcrowe / laravel-statsd example snippets


'rcrowe\Statsd\StatsdServiceProvider'

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

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

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

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

Statsd::increment($key);

Statsd::decrement($key);

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

Statsd::send()

$ php artisan config:publish rcrowe/laravel-statsd