Laravel Cloud 来了!为 Laravel 应用提供零配置的托管基础​​设施。 立即部署

Debugging production Laravel apps without losing your mind

最后更新于 经过

Debugging production Laravel apps without losing your mind image

If you are debugging locally and want to understand what a request did, Laravel Telescope is exactly the right tool. But Telescope is not built for production, and it was never meant to be.

In production, your tools are usually logs, an error tracker, and a general-purpose APM with a "Laravel integration" bolted on. You piece together what happened from fragments across multiple interfaces that know nothing about each other.

That is the gap a Laravel-native tool can actually close.

Laritor is a production observability tool built specifically around how Laravel applications are structured. Not adapted. Built.


Where request performance issues actually come from

A request to /checkout feels slow. You open your logs, filter by timestamp, and start guessing. Is it the Stripe API call? An unindexed query? A new feature you shipped behind a flag last week that turned out to be heavier than expected? The logs confirm something was slow but not which part or why.

Laritor captures everything in a single timeline per request: every query with its execution time, every outbound HTTP call, every feature flag evaluation, every cache hit and miss. The bottleneck is usually obvious within 30 seconds.

The point is not just that everything is visible. It is that the relationships between things are visible.


Queue visibility that goes beyond process or fail

Most tools tell you when a job failed. Laritor shows you what your queue system is doing over time: jobs processed, failed, and pending, average wait time, and a line graph of dispatched volume so you can see exactly when a spike started and how long jobs are sitting before pickup. The kind of detail that answers "why were notifications delayed at 3pm on Tuesday" without guessing.


The actual setup

Getting started takes less than 30 seconds.

Install the Composer package:

作曲家 要求 binarybuilds/laritor-client

Add three variables to your .env :

LARITOR_ENABLED = 真的
LARITOR_INGEST_ENDPOINT = your-endpoint
LARITOR_BACKEND_KEY = 你的钥匙

That is the entire setup. No agents, no sidecar processes, no changes to your infrastructure. It works on Vapor, Forge, Cloud, Docker or custom VPS right out of the box.


Dashboards and alerts

Once data is flowing, you get a default performance overview plus a library of 90+ widgets to build dashboards around the parts of your app that actually matter. Set up alerts for any performance threshold and have them delivered to Slack, Discord, Teams, email, or any webhook. Laritor can also open issues automatically in GitHub or Linear so regressions land in your backlog without anyone having to notice them first.


The AI layer, honestly

There is an AI analysis feature worth mentioning for one specific reason: it is schema-aware. It analyzes your queries against your actual database structure, so indexing suggestions are specific to your tables rather than generic advice. It can trace a slow request back through the full execution path and identify which external call, query pattern, or feature evaluation is responsible.

It is a useful layer. It is not magic.


If you are running Laravel in production and want to see what is actually slowing your app down, Laritor is worth trying. The free tier includes 300K events per month, unlimited apps, and unlimited seats.

Start monitoring for free

埃里克·L·巴恩斯摄

Eric 是 Laravel News 的创建者,自 2012 年以来一直报道 Laravel 相关内容。

归档于:
立方体

Laravel 时事通讯

加入超过 4 万名开发者的行列,不错过任何新的技巧、教程等内容。

图像
Laravel 代码审查

几天内即可获得 Laravel 代码审查方面的专家指导

访问 Laravel 代码审查
Tinkerwell 徽标

廷克威尔

Laravel 开发者必备的代码运行器。可在本地和生产环境中体验 AI、自动补全和即时反馈功能。

廷克威尔
几天内即可获得 Laravel 代码审查徽标的专家指导

几天内即可获得 Laravel 代码审查方面的专家指导

专家级代码审查!两位拥有 10 年以上 Laravel 开发经验的开发者将为您提供清晰、实用的反馈,帮助团队构建更优质的应用程序。

几天内即可获得 Laravel 代码审查方面的专家指导
PhpStorm 标志

PhpStorm

首选的 PHP IDE,对 Laravel 及其生态系统提供广泛的开箱即用支持。

PhpStorm
Laravel Cloud 标志

Laravel 云

轻松创建和管理服务器,并在几秒钟内部署 Laravel 应用程序。

Laravel 云
了解 Softtech 的标志

了解软科技

Acquaint Softtech 提供 AI 就绪的 Laravel 开发人员,48 小时内即可上手,每月费用为 3000 美元,没有冗长的销售流程,并提供 100% 退款保证。

了解软科技
Kirschbaum 标志

樱桃树

提供创新和稳定性,确保您的Web应用程序取得成功。

樱桃树
Shift 标志

转移

还在运行旧版本的 Laravel?立即实现 Laravel 自动升级和代码现代化,让您的应用程序保持最新状态。

转移
鱼叉:新一代时间跟踪和发票标志

Harpoon:新一代时间跟踪和发票系统

新一代时间跟踪和计费软件,帮助您的机构规划和预测盈利的未来。

Harpoon:新一代时间跟踪和发票系统
Lucky Media 标志

幸运传媒

Get Lucky Now——拥有十余年经验的 Laravel 开发理想之选!

幸运传媒
SaaSykit:Laravel SaaS 入门套件徽标

SaaSykit:Laravel SaaS 入门套件

SaaSykit 是一个多租户 Laravel SaaS 入门套件,包含运行现代 SaaS 所需的所有功能,例如支付、美观的结账界面、管理面板、用户仪表盘、身份验证、现成组件、统计数据、博客、文档等等。

SaaSykit:Laravel SaaS 入门套件
MongoDB 徽标

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB
Flaky Test Retries in Pest v4.5.0 image

Flaky Test Retries in Pest v4.5.0

阅读文章
Debugging production Laravel apps without losing your mind image

Debugging production Laravel apps without losing your mind

阅读文章
Passage: A Lightweight API Proxy Gateway for Laravel image

Passage: A Lightweight API Proxy Gateway for Laravel

阅读文章
PestPHP Intellisense in Laravel VS Code Extension v1.7.0 image

PestPHP Intellisense in Laravel VS Code Extension v1.7.0

阅读文章
Drop in comments for Filament with Commentions image

Drop in comments for Filament with Commentions

阅读文章
Laravel Starter Kits Now Include Toast Notifications image

Laravel Starter Kits Now Include Toast Notifications

阅读文章