PHP code example of tasko-products / symfony-prometheus-exporter

1. Go to this page and download the library: Download tasko-products/symfony-prometheus-exporter 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/ */

    

tasko-products / symfony-prometheus-exporter example snippets


// config/bundles.php

return [
    // ...
    TaskoProducts\SymfonyPrometheusExporterBundle\TaskoProductsSymfonyPrometheusExporterBundle::class => ['all' => true],
];
bash
$ vendor/bin/php-cs-fixer fix