Requires Laravel Pulse to be installed.
composer require laravel/pulse
Install the package by running the following command.
composer require biigle/pulse-queue-size
Note: This Laravel package is auto-discovered.
- Add the new recorder to the recorder array in the
config/pulse.php
Biigle\PulseQueueSizeCard\Recorders\QueueSize::class => [
'enabled' => env('PULSE_QUEUE_SIZE_ENABLED', true),
'record_interval' => 60, // time interval between records
'queues' => ['default'] // queues to monitor
],- Add the pulse card to the
resources/views/vendor/pulse/dashboard.blade.phpas follows
<livewire:pulse-queue-size-card.queue-size cols="4"/>
- Start Laravel Pulse by running
php artisan pulse:check.