PHP code example of acseo / sylius-prometheus-metrics-plugin
1. Go to this page and download the library: Download acseo/sylius-prometheus-metrics-plugin 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/ */
acseo / sylius-prometheus-metrics-plugin example snippets
// config/bundles.php
return [
// ...
Artprima\PrometheusMetricsBundle\ArtprimaPrometheusMetricsBundle::class => ['all' => true],
Acseo\SyliusPrometheusMetricsPlugin\SyliusPrometheusMetricsPlugin::class => ['all' => true],
];