PHP code example of codingducksrl / laravel-queue-monitor
1. Go to this page and download the library: Download codingducksrl/laravel-queue-monitor 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/ */
codingducksrl / laravel-queue-monitor example snippets
use CodingDuck\QueueMonitor\MetricSinkManager;
$this->app->make(MetricSinkManager::class)->extend('datadog', function ($app) {
return new DatadogSink($app->make('datadog.client'));
});