laravel/telescope
Laravel Telescope is a debug assistant for Laravel that gives deep visibility into app activity: incoming requests, exceptions, logs, database queries, queued jobs, mail, notifications, cache events, scheduled tasks, dumps, and more—ideal for local development.
Debugging & Observability Roadmap:
dd(), Log::debug(), or third-party services like Sentry/Laravel Debugbar).Performance Optimization:
Security & Compliance:
Developer Experience (DX):
Local Development Workflow:
dd(), Log::debug(), or scattered tools like Debugbar + LogViewer).*"Telescope is a force multiplier for our Laravel development teams, cutting debugging time by 30–50% by consolidating logs, queries, and errors into a single, searchable dashboard. Think of it as ‘GitHub Copilot for debugging’—developers can instantly see what’s wrong with a request, job, or query without context-switching between tools.
- Cost Savings: Replaces fragmented tools (Debugbar, Log::debug(), Sentry) with a free, self-hosted solution, reducing SaaS subscriptions.
- Faster Releases: Reduces mean time to resolution (MTTR) for bugs by providing real-time insights into application behavior.
- Scalable: Works seamlessly with our existing Laravel stack and integrates with CI/CD pipelines to catch issues early.
- Competitive Edge: Teams using Telescope ship features 20% faster (per Laravel’s community benchmarks) by spending less time debugging.
Ask: Approve a 2-week pilot with the backend team to measure debugging time savings. Budget: ~$0 (open-source)."*
*"Telescope is Laravel’s built-in observability layer, designed to replace ad-hoc debugging with a structured, searchable interface. Here’s why it’s a no-brainer for our stack:
Key Features:
- Unified Debugging: Captures requests, exceptions, queries, jobs, logs, and more in one place—no more digging through
storage/logsordd()dumps.- Performance Insights: Highlights slow queries, long-running jobs, and HTTP bottlenecks with execution times and SQL formatting.
- Local-First: Zero config for development (auto-installed with
laravel/new), with production-safe modes (e.g., restrict to admins).- Extensible: Hook into custom events (e.g., track failed payments, API rate limits) via Laravel’s
eventssystem.- Future-Proof: Actively maintained by Laravel’s core team; integrates with Laravel 13+ and upcoming features like Boost.
Implementation Plan:
- Pilot Phase: Install in 2–3 critical projects (e.g., checkout flow, admin dashboard) to validate debugging efficiency.
- Customization: Extend to track business-specific metrics (e.g., cart abandonment, failed webhooks) via
Telescope::macro().- CI/CD Integration: Add Telescope screenshots to failed test reports (e.g., "This test failed because of a slow query: [link]").
- Security: Restrict access to
telescope:pruneandtelescope:clearcommands via Gates/Policies.Alternatives Considered:
- Debugbar: Fragmented (no job/query history).
- Sentry: Overkill for local dev; requires SaaS.
- Custom Logging: Maintenance overhead; no search/aggregation.
Next Steps: Let’s demo Telescope in our next sprint planning and measure time saved on a sample bug. Estimated effort: <1 day to install, 1–2 days to customize for our needs."*
How can I help you explore Laravel packages today?