laravel/telescope
Laravel Telescope is an elegant debug assistant for Laravel, showing rich insight into requests, exceptions, logs, database queries, jobs, mail, notifications, cache, scheduled tasks, and more—ideal for local development and troubleshooting.
RequestWatcher, QueryWatcher, JobWatcher) are decoupled, allowing selective enablement/disabling of features (e.g., disable job tracking in production).telescope_entries table).telescope database table (and optionally telescope_entries). Migration is straightforward but requires schema changes.TelescopeServiceProvider) during installation, intercepting all requests. No manual route configuration needed./telescope endpoint (protected by auth/gates by default).telescope_entries table growth without retention policies.auth:api vs. auth:web)./telescope route.telescope:mask) be implemented?telescope_entries (e.g., archiving, soft deletes)?composer require laravel/telescope.php artisan telescope:install.php artisan migrate.config/telescope.php (e.g., enable => false for production).admin users).entries_per_minute).npm install + npm run dev (or use pre-built assets)./telescope route is accessible and data is captured (e.g., test a request, check the dashboard).composer.json constraints).telescope:clear to reset data between sessions.entries_per_minute: 10).axios, lodash) are addressed promptly.telescope_entries table or Laravel logs.laravel-telescope).telescope_entries growth and query performance (e.g., SELECT * FROM telescope_entries).entries_per_minute.telescope:prune).shouldIgnoreHosts to exclude specific domains.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Database connection issues | Telescope dashboard unavailable. | Ensure telescope DB is healthy; retry logic. |
telescope_entries table bloat |
Slow queries, storage exhaustion. | Set entries_per_minute; prune regularly. |
| Auth gate misconfiguration | Unauthorized access to sensitive data. | Use auth:api + IP whitelisting. |
| Asset compilation failures | Broken UI (if customizing). | Use pre-built assets or fix Vite config. |
| Sensitive data exposure | GDPR/legal compliance risks. | Mask data with telescope:mask; restrict access. |
| Laravel version incompatibility | Telescope breaks or misses data. | Pin to compatible Laravel version. |
EventWatcher for domain events).How can I help you explore Laravel packages today?