What is Laravel Telescope?
Laravel Telescope is an official debugging and introspection tool for Laravel applications. It records detailed entries for requests, exceptions, queries, jobs, logs, mail, notifications, cache operations, scheduled tasks, and more. Telescope is a local development tool. For production monitoring, use Laravel Pulse or Laravel Nightwatch.Monitoring layers
Installation
After installation, open the dashboard at/telescope.
Local-only installation (recommended)
If your primary goal is local debugging, install Telescope with
--dev and register providers only in the local environment.telescope:install, remove TelescopeServiceProvider registration from bootstrap/providers.php.
Then register providers manually in App\Providers\AppServiceProvider:
composer.json:
Available watchers
Watchers collect telemetry while requests or commands are processed. Configure them inconfig/telescope.php.
Request Watcher
Request Watcher
Records request, headers, session, and response data.
Use
Use
size_limit to restrict response payload size.Query Watcher (high value)
Query Watcher (high value)
Records SQL, bindings, and query duration.
Queries slower than 100ms are tagged as
Queries slower than 100ms are tagged as
slow by default, which is very useful for bottleneck detection.Job Watcher
Job Watcher
Records dispatched jobs and execution status.
Exception Watcher
Exception Watcher
Records reportable exceptions and stack traces.
Log Watcher
Log Watcher
Records logs written by the application.
Default level is
Default level is
error and above; you can lower it to debug in configuration.Command Watcher
Command Watcher
Records Artisan command arguments, options, output, and exit code.
Event Watcher
Event Watcher
Records dispatched event payloads and listeners (framework internal events are excluded).
Cache Watcher
Cache Watcher
Records cache hits, misses, updates, and forget operations.
Redis Watcher
Redis Watcher
Records Redis commands executed by your application.
Model Watcher
Model Watcher
Records Eloquent model events and optionally hydration counts.
Notification Watcher
Notification Watcher
Records notifications sent by your application.
Mail Watcher
Mail Watcher
Shows sent mails and allows browser preview /
.eml download.HTTP Client Watcher
HTTP Client Watcher
Records outgoing HTTP client requests.
Gate Watcher
Gate Watcher
Records authorization gate / policy checks and results.
Schedule Watcher
Schedule Watcher
Records scheduled command execution and output.
View Watcher
View Watcher
Records rendered view names, paths, data, and composers.
Batch Watcher
Batch Watcher
Records queued batch metadata, including connection and job information.
Dump Watcher
Dump Watcher
Records variable dumps while the Telescope dump tab is open.
Summary
| Task | Recommendation |
|---|---|
| Install | composer require laravel/telescope --dev |
| Ensure local-only isolation | Manual provider registration + dont-discover |
| Find DB bottlenecks quickly | Use Query Watcher slow-query tags (default 100ms) |
Next steps
Laravel Pulse
Add a performance metrics dashboard for production.
Laravel Nightwatch
Use Nightwatch for real-time production monitoring.