1. Go to this page and download the library: Download wyrihaximus/metrics 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/ */
wyrihaximus / metrics example snippets
declare(strict_types=1);
use WyriHaximus\Metrics\Factory;
declare(strict_types=1);
use WyriHaximus\Metrics\Factory;
use WyriHaximus\Metrics\Label\Name;
);
declare(strict_types=1);
use WyriHaximus\Metrics\Factory;
use WyriHaximus\Metrics\Label;
use WyriHaximus\Metrics\Label\Name;
rCollection->counter(new Label('label', 'value'));
declare(strict_types=1);
use WyriHaximus\Metrics\Factory;
use WyriHaximus\Metrics\Label;
use WyriHaximus\Metrics\Label\Name;
rCollection->counter(new Label('label', 'value'));
$counter->incr();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.