Laravel Time Machine is a new open-source performance profiler for Laravel applications that records every stage of the HTTP request lifecycle — from bootstrap through termination — with millisecond-level timings. It provides a Gantt-style timeline dashboard at /time-machine, captures SQL queries with bindings and execution times, flags slow requests (>500ms) and slow queries (>50ms), and stores profiles as flat JSON files without requiring database migrations. Custom instrumentation is available via a TimeMachine facade for marking points, measuring code blocks, and creating manual spans. Compared to Telescope and Debugbar, it occupies a middle ground: browsable request history like Telescope but focused solely on lifecycle timing, stored in flat files rather than a database.
Table of contents
# The Timeline Dashboard# Custom Instrumentation# Storage Without a Database# How It Compares to Telescope and Debugbar# Installation and Configuration177.4K Impressions7 Comments