<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2" -->

---
title: Laravel Time Machine: A Request Lifecycle Profiler
description: Laravel Time Machine is a new open-source performance profiler for Laravel applications that records every stage of the HTTP request lifecycle — from bootstrap...
canonical: https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Laravel Time Machine: A Request Lifecycle Profiler | daily.dev
og:description: Laravel Time Machine is a new open-source performance profiler for Laravel applications that records every stage of the HTTP request lifecycle — from bootstrap...
og:url: https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2
og:image: https://api.daily.dev/og/posts/ubEHymlj2.png
og:image:alt: Laravel Time Machine: A Request Lifecycle Profiler
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel Time Machine: A Request Lifecycle Profiler

**[Laravel News](https://daily.dev/sources/ln)** · 3 min read · 32 upvotes · 7 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/laravel-time-machine-a-request-lifecycle-profiler>

## Questions this post answers

### What does the Laravel Time Machine package do?

Laravel Time Machine is a performance profiler that records every stage of a Laravel request—bootstrap, middleware, routing, controller, response, and termination—with millisecond timings. It provides a Gantt-style timeline dashboard at /time-machine, captures SQL queries with bindings and execution time, flags requests over 500ms and queries over 50ms as slow, and stores profiles as flat JSON files instead of database tables.

_Developers hunting request bottlenecks can find Laravel profiling tools like this one on daily.dev._

### How is Laravel Time Machine different from Laravel Telescope and Debugbar?

Telescope monitors many application areas—requests, jobs, mail, notifications, cache—and stores entries in a database, making it suited for full application monitoring. Debugbar renders a toolbar showing timing and query data only for the current page response. Time Machine sits between them: it keeps a browsable history of recent requests like Telescope but stores only lifecycle timing and query data in flat JSON files, focused specifically on where individual requests spend their time.

_Choosing between Laravel debugging tools gets easier when comparisons like this surface on daily.dev._

### Which Laravel versions does the Time Machine profiler package support?

The laravel-time-machine package supports Laravel versions 8 through 13. It installs via Composer with auto-discovery handling the service provider and facade registration, and publishing the config file is optional using the time-machine-config tag.

_Tracking package compatibility across Laravel versions is easier with updates like this on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@devdavidt** · 1 upvotes

> Glad to see these new and development of Laravel!

**@rgodiyal** · 0 upvotes

> How its differ from laravel debugbar?

## Similar posts on daily.dev

- [Laravel Brain: Visualize Your Application's Request Lifecycle](https://daily.dev/posts/laravel-brain-visualize-your-application-s-request-lifecycle-7nug7p59g) · Laravel News · 153 upvotes · 12 comments
- [Laravel Request Lifecycle Deep Dive: From Request to Response](https://daily.dev/posts/laravel-request-lifecycle-deep-dive-from-request-to-response-rsrs5vaao) · W endell Adriel · 40 upvotes · 8 comments

---

Tags: [#php](https://daily.dev/tags/php), [#sql](https://daily.dev/tags/sql), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Laravel Time Machine: A Request Lifecycle Profiler","url":"https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2"},"datePublished":"2026-07-21T14:08:23.780Z","dateModified":"2026-09-13T20:42:14.748Z","description":"Laravel Time Machine is a new open-source performance profiler for Laravel applications that records every stage of the HTTP request lifecycle — from bootstrap...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/020c220c835277050a9952e982bf0ddc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/020c220c835277050a9952e982bf0ddc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Laravel News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Laravel News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ln","url":"https://daily.dev/sources/ln"},"commentCount":7,"discussionUrl":"https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":32},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":7}],"keywords":"php,sql,laravel","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Laravel News","item":"https://daily.dev/sources/ln"},{"@type":"ListItem","position":3,"name":"Laravel Time Machine: A Request Lifecycle Profiler"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2","comment":[{"@type":"Comment","text":"Glad to see these new and development of Laravel!","datePublished":"2026-07-22T07:12:25.492Z","url":"https://daily.dev/posts/ubEHymlj2#c-oxRZhGQ5c","author":{"@type":"Person","name":"DavidDev","url":"https://daily.dev/devdavidt","image":"https://media.daily.dev/image/upload/s--jxmKsIov--/f_auto/v1788950401/avatars/avatar_HK0Qdu9ttIpcoDHx7zrHk?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"How its differ from laravel debugbar?","datePublished":"2026-07-22T04:59:37.896Z","url":"https://daily.dev/posts/ubEHymlj2#c-OlTW7RipL","author":{"@type":"Person","name":"Rahul Godiyal","url":"https://daily.dev/rgodiyal","image":"https://lh3.googleusercontent.com/a/ACg8ocJUbWuKor0twjzGVmI3sXXFcW_cr9pu-M4_NN4eu3TOF-7Cf9o=s96-c"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/laravel-time-machine-a-request-lifecycle-profiler-ubehymlj2#faq","mainEntity":[{"@type":"Question","name":"What does the Laravel Time Machine package do?","acceptedAnswer":{"@type":"Answer","text":"Laravel Time Machine is a performance profiler that records every stage of a Laravel request—bootstrap, middleware, routing, controller, response, and termination—with millisecond timings. It provides a Gantt-style timeline dashboard at /time-machine, captures SQL queries with bindings and execution time, flags requests over 500ms and queries over 50ms as slow, and stores profiles as flat JSON files instead of database tables. Developers hunting request bottlenecks can find Laravel profiling tools like this one on daily.dev."}},{"@type":"Question","name":"How is Laravel Time Machine different from Laravel Telescope and Debugbar?","acceptedAnswer":{"@type":"Answer","text":"Telescope monitors many application areas—requests, jobs, mail, notifications, cache—and stores entries in a database, making it suited for full application monitoring. Debugbar renders a toolbar showing timing and query data only for the current page response. Time Machine sits between them: it keeps a browsable history of recent requests like Telescope but stores only lifecycle timing and query data in flat JSON files, focused specifically on where individual requests spend their time. Choosing between Laravel debugging tools gets easier when comparisons like this surface on daily.dev."}},{"@type":"Question","name":"Which Laravel versions does the Time Machine profiler package support?","acceptedAnswer":{"@type":"Answer","text":"The laravel-time-machine package supports Laravel versions 8 through 13. It installs via Composer with auto-discovery handling the service provider and facade registration, and publishing the config file is optional using the time-machine-config tag. Tracking package compatibility across Laravel versions is easier with updates like this on daily.dev."}}]}
```

