clockwork-cli
command-line monitor for the Clockwork PHP profiler
TLDR
SYNOPSIS
clockwork-cli [path...]
DESCRIPTION
clockwork-cli is a command-line interface for Clockwork, a PHP debugging and profiling tool. It reads the JSON request data that the Clockwork server-side library writes for Laravel, Slim, and other PHP framework requests, and presents an updating, interactive list of recent HTTP requests directly in the terminal, without needing the browser extension.Running it with no arguments monitors the Clockwork logs of the current project. Passing one or more paths (for example a glob like `/www/*`) monitors several projects at once. Each request is shown with a hotkey so you can drill into its database queries, log entries, timeline, and other recorded data.
CONTROLS
hotkey (first character shown)
View details of the corresponding HTTP requestBackspace
Show requests from the last 10 minutesEscape
Exit the application
CAVEATS
Requires the Clockwork server-side library installed and enabled in the PHP application being profiled, so that request metadata is written to the storage directory clockwork-cli reads.
