Linux command
clockwork-cli 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start Clockwork server
clockwork-cli server
Show request logs
clockwork-cli show
Clear stored data
clockwork-cli clean
说明
clockwork-cli is the command-line interface for Clockwork, a PHP debugging and profiling tool. It works with the Clockwork browser extension to provide detailed insights into Laravel, Slim, and other PHP framework requests, including database queries, cache operations, log entries, and timeline data. The CLI manages the local Clockwork server that receives profiling data from your PHP application and serves it to the browser extension. It can also display request logs directly in the terminal and clean up stored profiling data.
FAQ
What is the clockwork-cli command used for?
clockwork-cli is the command-line interface for Clockwork, a PHP debugging and profiling tool. It works with the Clockwork browser extension to provide detailed insights into Laravel, Slim, and other PHP framework requests, including database queries, cache operations, log entries, and timeline data. The CLI manages the local Clockwork server that receives profiling data from your PHP application and serves it to the browser extension. It can also display request logs directly in the terminal and clean up stored profiling data.
How do I run a basic clockwork-cli example?
Run `clockwork-cli server` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more clockwork-cli examples?
This page includes 3 examples for clockwork-cli, plus related commands for nearby Linux tasks.