Alpha
Alpha
AlphaBeta: when quoting is solved

Packages

Pulse

Introduction

Laravel Pulse delivers at-a-glance insights into your application's performance and usage. Laravel Bash Pulse is a live feed of everything the application does: every request, job, event, listener and command, as it happens. Open Pulse in one tab and use the app in another.

How It Works

Everything worth watching already broadcasts something:

WhatWhere it's broadcast from
Requestshttp::access_log, when the response has been sent
Jobsdispatch, and each worker as it claims and finishes a job
Eventsevent, and the listener after it handles one
CommandsThe Artisan example and the scheduler

The Pulse page follows the pulse channel. Every other channel's stream filters broadcasts.log with grep --line-buffered "^channel". The pulse stream doesn't filter anything, and wraps each line with its channel name:

event: pulse
data: {"channel":"queue","event":"JobProcessed","data":{"job":"ProcessPodcast 30","worker":"3","ms":"1051"}}

Storage

There's no database for Pulse. storage/broadcasts/broadcasts.log is the database, and it grows forever. Delete it whenever you like: tail -F notices and carries on with the new one.