PHP Package: lkaemmerling/laravel-horizon-prometheus-exporter

Laravel Horizon Prometheus Exporter is a PHP library designed to facilitate monitoring and metrics collection for Laravel Horizon using Prometheus. It seamlessly integrates with your Laravel application, providing valuable insights into your Horizon job processing.

Current Version: 1.8.2
Last Updated: 2025-02-20
PHP Requirement: ^7.1|^8.0
Dependencies:
phpunit/phpunit
prometheus/client_php
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laravel Horizon Prometheus Exporter is a powerful tool for Laravel developers seeking to optimize their job processing workflows. By exporting metrics to Prometheus, it enables detailed monitoring and analysis of Horizon's performance. Gain visibility into job queues, processing times, and more, empowering you to make data-driven decisions for improved efficiency and reliability.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.8.2

Download Download v1.8.2

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/lkaemmerling/laravel-horizon-prometheus-exporter/1.8.2/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.4.1/loader.php';
require_once 'libs/prometheus/client_php/{lib_version}/loader.php';

use Lkaemmerling\LaravelHorizonPrometheusExporter\Exporter;
use Prometheus\CollectorRegistry;

$obj = new Exporter();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.