So! This repository is a sample one. You can use it as a reference to this article right here.
Files to care about
app/Livewire/RequestsReceived.php- Livewire component extending Pulse's Card component, and retrievesmachine_requestsmetric from the Pulse tablesresources/views/livewire/requests-received.blade.php- Copy paste of Laravel Pulse's sample custom card. Tweaked to display$machinescount information into a tableapp/Http/Middleware/RecordRequest.php- Global middleware that records incoming requests into Pulse's tables using Pulse's available methods.