File: README.md
Introduction
Laravel Telescope is an elegant debug assistant for the Laravel framework. Telescope provides insight into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache operations, scheduled tasks, variable dumps and more. Telescope makes a wonderful companion to your local Laravel development environment.
Official Documentation
Documentation for Telescope can be found on the Laravel website.
Contributing
Thank you for considering contributing to Telescope! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
Laravel Telescope is open-sourced software licensed under the MIT license.
File: CHANGELOG.md
Release Notes
[Unreleased](https://github.com/laravel/telescope/compare/v5.26.0...5.x)
[v5.26.0](https://github.com/laravel/telescope/compare/v5.25.0...v5.26.0) - 2026-09-22
- Add 'set-cookie' to hidden request headers by @samuelwei in https://github.com/laravel/telescope/pull/1769
[v5.25.0](https://github.com/laravel/telescope/compare/v5.24.0...v5.25.0) - 2026-09-09
- Add full UUID option to telescope:list command by @ylynfatt in https://github.com/laravel/telescope/pull/1766
[v5.24.0](https://github.com/laravel/telescope/compare/v5.23.0...v5.24.0) - 2026-09-08
- Add telescope cli commands by @pushpak1300 in https://github.com/laravel/telescope/pull/1763
- Cancel in-flight requests when navigating between screens by @pushpak1300 in https://github.com/laravel/telescope/pull/1764
[v5.23.0](https://github.com/laravel/telescope/compare/v5.22.1...v5.23.0) - 2026-08-27
- Escape CSP nonce attribute value by @iliaal in https://github.com/laravel/telescope/pull/1756
- Test improvements by @crynobone in https://github.com/laravel/telescope/pull/1759
- Supports Guzzle 8 by @crynobone in https://github.com/laravel/telescope/pull/1760
- Supports PHPStan 2 by @crynobone in https://github.com/laravel/telescope/pull/1761
- Fix Telescope::css() return type docblock by @Maggomann in https://github.com/laravel/telescope/pull/1762
[v5.22.1](https://github.com/laravel/telescope/compare/v5.22.0...v5.22.1) - 2026-08-05
- Fix BatchWatcher::recordBatch docblock copied from JobWatcher by @darkdi in https://github.com/laravel/telescope/pull/1753
[v5.22.0](https://github.com/laravel/telescope/compare/v5.21.0...v5.22.0) - 2026-07-29
- Bump actions/checkout from 7.0.0 to 7.0.1 in the github-actions group by @dependabot[bot] in https://github.com/laravel/telescope/pull/1747
- Bump immutable from 5.1.5 to 5.1.9 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1748
- Bump postcss from 8.5.4 to 8.5.23 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1749
- [5.x] Add CSP nonce support by @roger-hermasch in https://github.com/laravel/telescope/pull/1752
[v5.21.0](https://github.com/laravel/telescope/compare/v5.20.0...v5.21.0) - 2026-07-20
- Bump axios from 1.14.0 to 1.15.0 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1715
- Bump follow-redirects from 1.15.11 to 1.16.0 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1716
- Bump axios from 1.15.0 to 1.15.2 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1718
- Pin GitHub Actions to commit SHAs and add Dependabot config by @joetannenbaum in https://github.com/laravel/telescope/pull/1720
- Bump shivammathur/setup-php from 2.37.0 to 2.37.1 in the github-actions group by @dependabot[bot] in https://github.com/laravel/telescope/pull/1725
- Bump axios from 1.15.2 to 1.16.0 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1727
- GitHub Actions hardening by @nunomaduro in https://github.com/laravel/telescope/pull/1730
- Bump actions/checkout from 6.0.2 to 6.0.3 in the github-actions group by @dependabot[bot] in https://github.com/laravel/telescope/pull/1731
- Pin pull requests and issues workflows to latest laravel/.github by @nunomaduro in https://github.com/laravel/telescope/pull/1732
- Add Dependabot cooldown of 5 days by @nunomaduro in https://github.com/laravel/telescope/pull/1733
- Enable Dependabot auto-merge by @nunomaduro in https://github.com/laravel/telescope/pull/1734
- Bump shivammathur/setup-php from 2.37.1 to 2.37.2 in the github-actions group by @dependabot[bot] in https://github.com/laravel/telescope/pull/1737
- Bump form-data from 4.0.5 to 4.0.6 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1739
- [5.x] Clear stale exception and failed tag when a job is marked processed by @EhabAmawi in https://github.com/laravel/telescope/pull/1741
- Bump actions/checkout from 6.0.3 to 7.0.0 in the github-actions group by @dependabot[bot] in https://github.com/laravel/telescope/pull/1743
- [5.x] Normalize dashboard JavaScript line endings by @lazerg in https://github.com/laravel/telescope/pull/1744
- [5.x] Order deletes when pruning and clearing to prevent deadlocks by @lazerg in https://github.com/laravel/telescope/pull/1745
- Bump axios from 1.16.0 to 1.18.0 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1746
[v5.20.0](https://github.com/laravel/telescope/compare/v5.19.0...v5.20.0) - 2026-04-06
- Bump picomatch from 2.3.1 to 2.3.2 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1704
- Add
.npmrcfile by @crynobone in https://github.com/laravel/telescope/pull/1707 - [5.x] Fix npm audit vulnerabilities (lodash, axios, rollup) by @JoshSalway in https://github.com/laravel/telescope/pull/1710
[v5.19.0](https://github.com/laravel/telescope/compare/v5.18.0...v5.19.0) - 2026-03-24
- Update Symfony console and var-dumper versions to support v8 by @HichemTab-tech in https://github.com/laravel/telescope/pull/1699
- Fix: Hardcoded config in Service Provider by @webard in https://github.com/laravel/telescope/pull/1702
- [5.x] Fix workflow YAML syntax and Laravel 13 CSRF test failures by @JoshSalway in https://github.com/laravel/telescope/pull/1703
[v5.18.0](https://github.com/laravel/telescope/compare/5.18.0...v5.18.0) - 2026-03-05
- Reduce risks of
localStoragecollision by @meduzen in https://github.com/laravel/telescope/pull/1687 - Bump immutable from 5.1.2 to 5.1.5 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1689
[5.18.0](https://github.com/laravel/telescope/compare/v5.17.0...5.18.0) - 2026-02-20
- Use cascadeOnDelete() to fix PHPStan error in migration by @monteiro in https://github.com/laravel/telescope/pull/1682
- [5.x] Supports restricting private tunnel requests for
localenvironment by @crynobone in https://github.com/laravel/telescope/pull/1674 - Add missing limit(-1) to QueueController batch query by @EhabAmawi in https://github.com/laravel/telescope/pull/1684
- Laravel 13.x Compatibility by @laravel-shift in https://github.com/laravel/telescope/pull/1686
[v5.17.0](https://github.com/laravel/telescope/compare/v5.16.1...v5.17.0) - 2026-01-30
- Bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1676
- Update gate definition to type-hint User model by @dipesh79 in https://github.com/laravel/telescope/pull/1677
[v5.16.1](https://github.com/laravel/telescope/compare/v5.16.0...v5.16.1) - 2025-12-30
- fix: ignore track chrome devtools route by @haminh7036 in https://github.com/laravel/telescope/pull/1669
- Fix dumps screen missing sf-js-enabled css class name by @haminh7036 in https://github.com/laravel/telescope/pull/1671
[v5.16.0](https://github.com/laravel/telescope/compare/v5.15.1...v5.16.0) - 2025-12-09
- refactor(reflection): remove deprecated setAccessible usage by @artengin in https://github.com/laravel/telescope/pull/1661
- [5.x] Update .gitignore by @jackbayliss in https://github.com/laravel/telescope/pull/1664
- feat: add duration column to HTTP Client in related entries by @florenmoya in https://github.com/laravel/telescope/pull/1666
[v5.15.1](https://github.com/laravel/telescope/compare/v5.15.0...v5.15.1) - 2025-11-25
- [5.x] PHP 8.5 Compatibility by @crynobone in https://github.com/laravel/telescope/pull/1658
[v5.15.0](https://github.com/laravel/telescope/compare/v5.14.1...v5.15.0) - 2025-10-23
- Bump vite from 5.4.20 to 5.4.21 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1649
- feat: add shouldIgnoreHosts method to filter HTTP client requests by host by @artengin in https://github.com/laravel/telescope/pull/1650
[v5.14.1](https://github.com/laravel/telescope/compare/v5.14.0...v5.14.1) - 2025-10-12
- Fix: Record IncomingExceptionEntry with binary content by @jlswanson28694 in https://github.com/laravel/telescope/pull/1646
- [5.x] Simplify control flow by @AhmedAlaa4611 in https://github.com/laravel/telescope/pull/1645
[v5.14.0](https://github.com/laravel/telescope/compare/v5.13.0...v5.14.0) - 2025-10-06
- [5.x] chunk on number of tags rather than number of entries by @cosmastech in https://github.com/laravel/telescope/pull/1644
[v5.13.0](https://github.com/laravel/telescope/compare/v5.12.0...v5.13.0) - 2025-09-30
- [5.x] Introduce pre-package uninstall listener by @cosmastech in https://github.com/laravel/telescope/pull/1641
[v5.12.0](https://github.com/laravel/telescope/compare/v5.11.4...v5.12.0) - 2025-09-18
- ignore laravel boost routes by @zackAJ in https://github.com/laravel/telescope/pull/1636
[v5.11.4](https://github.com/laravel/telescope/compare/v5.11.3...v5.11.4) - 2025-09-12
- [5.x] multiline ternary formatting by @browner12 in https://github.com/laravel/telescope/pull/1631
- fix: treat sqlsrv as valid 'transactsql' type for sql-formatter by @iBotPeaches in https://github.com/laravel/telescope/pull/1633
- Bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1635
[v5.11.3](https://github.com/laravel/telescope/compare/v5.11.2...v5.11.3) - 2025-08-21
- Fix missing lodash on Dump screen by @crynobone in https://github.com/laravel/telescope/pull/1628
[v5.11.2](https://github.com/laravel/telescope/compare/v5.11.1...v5.11.2) - 2025-08-16
- [5.x] Removed redundant default values from config file by @weshooper in https://github.com/laravel/telescope/pull/1626
[v5.11.1](https://github.com/laravel/telescope/compare/v5.11.0...v5.11.1) - 2025-08-14
- Remove
telescope-assetspublishing by @crynobone in https://github.com/laravel/telescope/pull/1624 - [5.x] Rewind stream after getting the body by @cosmastech in https://github.com/laravel/telescope/pull/1625
[v5.11.0](https://github.com/laravel/telescope/compare/v5.10.2...v5.11.0) - 2025-08-03
- [5.x] Fix Streaming Issue by @michaelnabil230 in https://github.com/laravel/telescope/pull/1621
- [5.x] Include driver in Query content to enable proper formatting by @cosmastech in https://github.com/laravel/telescope/pull/1620
- [5.x] comments fix by @cosmastech in https://github.com/laravel/telescope/pull/1619
[v5.10.2](https://github.com/laravel/telescope/compare/v5.10.1...v5.10.2) - 2025-07-24
- [5.x] Fix compile assets by @crynobone in https://github.com/laravel/telescope/pull/1616
[v5.10.1](https://github.com/laravel/telescope/compare/v5.10.0...v5.10.1) - 2025-07-22
- [5.x] Use match expressions in place of switch statements by @xurshudyan in https://github.com/laravel/telescope/pull/1605
- Fix batch function call on null by @Davitig in https://github.com/laravel/telescope/pull/1606
- Fix missing
_import and supported Vite by @crynobone in https://github.com/laravel/telescope/pull/1609 - Bump form-data from 4.0.2 to 4.0.4 by @dependabot[bot] in https://github.com/laravel/telescope/pull/1613
[v5.10.0](https://github.com/laravel/telescope/compare/v5.9.1...v5.10.0) - 2025-07-07
- Migrate to Vite by @nckrtl in https://github.com/laravel/telescope/pull/1598
- Fix workbench integration and fix
compile-assetsbuild by @crynobone in https://github.com/laravel/telescope/pull/1601 - Bump esbuild and vite by @dependabot in https://github.com/laravel/telescope/pull/1600
- Apply PSR-3 replacements in Telescope logs by @DragosMocrii in https://github.com/laravel/telescope/pull/1604
- Feature/show gates response message by @Geelik in https://github.com/laravel/telescope/pull/1570
[v5.9.1](https://github.com/laravel/telescope/compare/v5.9.0...v5.9.1) - 2025-06-10
- [5.x] Fixes non-needed update on
telescope_entriesby @nunomaduro in https://github.com/laravel/telescope/pull/1599
[v5.9.0](https://github.com/laravel/telescope/compare/v5.8.0...v5.9.0) - 2025-06-03
- Fix broken preview image in
README.mdby @sajjadhossainshohag in https://github.com/laravel/telescope/pull/1596 - feat: Added
laravel:reverb:restartto CacheWatcher default ignore list by @Hyrran in https://github.com/laravel/telescope/pull/1597
[v5.8.0](https://github.com/laravel/telescope/compare/v5.7.0...v5.8.0) - 2025-05-26
- Update logo by @iamdavidhill in https://github.com/laravel/telescope/pull/1581
- Bump http-proxy-middleware from 2.0.6 to 2.0.9 by @dependabot in https://github.com/laravel/telescope/pull/1584
- Bump axios from 1.7.4 to 1.8.2 by @dependabot in https://github.com/laravel/telescope/pull/1585
- Bump elliptic from 6.6.0 to 6.6.1 by @dependabot in https://github.com/laravel/telescope/pull/1586
- [5.x] Add ignore option to CacheWatcher by @mostafaznv in https://github.com/laravel/telescope/pull/1594
[v5.7.0](https://github.com/laravel/telescope/compare/v5.6.0...v5.7.0) - 2025-03-27
- [5.x] Record plain/text request content by @cosmastech in https://github.com/laravel/telescope/pull/1578
[v5.6.0](https://github.com/laravel/telescope/compare/v5.5.1...v5.6.0) - 2025-03-17
- [5.x] Fix empty avatar on nullable user email by @ShadyZekry in https://github.com/laravel/telescope/pull/1575
- Add Hydrated Models Count to Models Table on the Request Details Page by @niteen1593 in https://github.com/laravel/telescope/pull/1576
[v5.5.1](https://github.com/laravel/telescope/compare/v5.5.0...v5.5.1) - 2025-03-10
- Check implementation instead of assuming it is View by @AJenbo in https://github.com/laravel/telescope/pull/1571
[v5.5.0](https://github.com/laravel/telescope/compare/v5.4.0...v5.5.0) - 2025-02-11
- [5.x] Config for queue delay by @techieforfun in https://github.com/laravel/telescope/pull/1563
- Supports Laravel 12 by @crynobone in https://github.com/laravel/telescope/pull/1565
- Ensure
formatForTelescopemethod is used in request watcher by @duncanmcclean in https://github.com/laravel/telescope/pull/1566 - Bump serialize-javascript from 6.0.1 to 6.0.2 by @dependabot in https://github.com/laravel/telescope/pull/1567
[v5.4.0](https://github.com/laravel/telescope/compare/v5.3.0...v5.4.0) - 2025-01-24
- [5.x] Save and view response headers by @gdebrauwer in https://github.com/laravel/telescope/pull/1561
- [5.x] Ability to override how objects are serialized by @duncanmcclean in https://github.com/laravel/telescope/pull/1562
[v5.3.0](https://github.com/laravel/telescope/compare/v5.2.6...v5.3.0) - 2024-12-26
- [5.x] Tag client request hostname automatically by @dshafik in https://github.com/laravel/telescope/pull/1553
- Bump @babel/traverse from 7.22.20 to 7.26.4 by @dependabot in https://github.com/laravel/telescope/pull/1555
[v5.2.6](https://github.com/laravel/telescope/compare/v5.2.5...v5.2.6) - 2024-11-25
- [5.x] Supports PHP 8.4 by @crynobone in https://github.com/laravel/telescope/pull/1544
- [5.x] fix implicitly marking parameter as nullable by @SupianIDz in https://github.com/laravel/telescope/pull/1550
[v5.2.5](https://github.com/laravel/telescope/compare/v5.2.4...v5.2.5) - 2024-10-31
- Bump elliptic from 6.5.7 to 6.6.0 by @dependabot in https://github.com/laravel/telescope/pull/1541
[v5.2.4](https://github.com/laravel/telescope/compare/v5.2.3...v5.2.4) - 2024-10-29
- [5.x] Fix
JobWatcherwhen processing deleted instance ofSerializesModelsby @hapidjus in https://github.com/laravel/telescope/pull/1539
[v5.2.3](https://github.com/laravel/telescope/compare/v5.2.2...v5.2.3) - 2024-10-13
- Bump webpack from 5.88.2 to 5.94.0 by @dependabot in https://github.com/laravel/telescope/pull/1513
- Bump elliptic from 6.5.4 to 6.5.7 by @dependabot in https://github.com/laravel/telescope/pull/1515
- Bump send and express by @dependabot in https://github.com/laravel/telescope/pull/1522
- Bump serve-static and express by @dependabot in https://github.com/laravel/telescope/pull/1521
- Update logo to support dark/light theme by @milewski in https://github.com/laravel/telescope/pull/1529
- Bump cookie and express by @dependabot in https://github.com/laravel/telescope/pull/1535
- [5.x] Added
isEventandisCachemethods toIncomingEntryby @mrazinshaikh in https://github.com/laravel/telescope/pull/1536
[v5.2.2](https://github.com/laravel/telescope/compare/v5.2.1...v5.2.2) - 2024-08-26
- Revert "[5.x] Enhance Telescope Clear Method" by @taylorotwell in https://github.com/laravel/telescope/pull/1510
[v5.2.1](https://github.com/laravel/telescope/compare/v5.2.0...v5.2.1) - 2024-08-20
- Fix that multiple use of the same binding is only replaced once in the query by @kohlerdominik in https://github.com/laravel/telescope/pull/1503
- [5.x] Enhance Telescope Clear Method by @a1383n in https://github.com/laravel/telescope/pull/1507
[v5.2.0](https://github.com/laravel/telescope/compare/v5.1.1...v5.2.0) - 2024-08-02
- add support for non-standard PDOs by @macbookandrew in https://github.com/laravel/telescope/pull/1499
[v5.1.1](https://github.com/laravel/telescope/compare/v5.1.0...v5.1.1) - 2024-06-27
- Revert "[5.x] Enhance query preview when using the pgsql driver" by @driesvints in https://github.com/laravel/telescope/pull/1491
[v5.1.0](https://github.com/laravel/telescope/compare/v5.0.5...v5.1.0) - 2024-06-17
- [5.x] Add
isLogtoIncomingEntryby @ngunyimacharia in https://github.com/laravel/telescope/pull/1485 - [5.x] Enhance query preview when using the pgsql driver by @morloderex in https://github.com/laravel/telescope/pull/1486
[v5.0.5](https://github.com/laravel/telescope/compare/v5.0.4...v5.0.5) - 2024-05-09
- add queue connection customization to the Job self dispatch by @ariaieboy in https://github.com/laravel/telescope/pull/1478
[v5.0.4](https://github.com/laravel/telescope/compare/v5.0.3...v5.0.4) - 2024-04-22
- add config option for queue by @ariaieboy in https://github.com/laravel/telescope/pull/1469
[v5.0.3](https://github.com/laravel/telescope/compare/v5.0.2...v5.0.3) - 2024-04-17
- Revert "[5.x] feature: add vite integrity plugin" by @driesvints in https://github.com/laravel/telescope/pull/1464
- Revert "[5.x] feature: move laravel mix setup to vite" by @driesvints in https://github.com/laravel/telescope/pull/1465
[v5.0.2](https://github.com/laravel/telescope/compare/v5.0.1...v5.0.2) - 2024-04-15
- [5.x] feature: move laravel mix setup to vite by @mmachatschek in https://github.com/laravel/telescope/pull/1460
- [5.x] feature: add vite integrity plugin by @mmachatschek in https://github.com/laravel/telescope/pull/1461
[v5.0.1](https://github.com/laravel/telescope/compare/v5.0.0...v5.0.1) - 2024-03-23
- Fix misspelled property in base.scss by @vanderb in https://github.com/laravel/telescope/pull/1447
- [5.x] Make commands lazy by @timacdonald in https://github.com/laravel/telescope/pull/1448
[v5.0.0](https://github.com/laravel/telescope/compare/v4.17.6...v5.0.0) - 2024-03-12
- Retain exceptions data by @senthilvelpro in https://github.com/laravel/telescope/pull/950
- Add a new "Clear Entries" button at the top of Telescope by @AlexDanault in https://github.com/laravel/telescope/pull/1087
- [5.x] Refactor routes by @driesvints in https://github.com/laravel/telescope/pull/1095
- Always register migrations by @MasterRO94 in https://github.com/laravel/telescope/pull/1119
- [5.x] Adds Laravel 11 support by @nunomaduro in https://github.com/laravel/telescope/pull/1420
[v4.17.6](https://github.com/laravel/telescope/compare/v4.17.5...v4.17.6) - 2024-02-08
- [4.x] Add
useto closure to pass in environment condition by @LaurenceRawlings in https://github.com/laravel/telescope/pull/1434
[v4.17.5](https://github.com/laravel/telescope/compare/v4.17.4...v4.17.5) - 2024-01-30
- [4.x] Ignore duplicate tags by @driesvints in https://github.com/laravel/telescope/pull/1431
[v4.17.4](https://github.com/laravel/telescope/compare/v4.17.3...v4.17.4) - 2024-01-22
- [4.x] Add primary keys to database tables by @driesvints in https://github.com/laravel/telescope/pull/1425
[v4.17.3](https://github.com/laravel/telescope/compare/v4.17.2...v4.17.3) - 2023-12-11
- fix: clear all entries using chunks by @skrskr in https://github.com/laravel/telescope/pull/1415
- Ignore pulse and livewire by @tomswinkels in https://github.com/laravel/telescope/pull/1418
[v4.17.2](https://github.com/laravel/telescope/compare/v4.17.1...v4.17.2) - 2023-11-01
- Revert "Fixes RelatedEntries is not loaded after migrating from mix to vite" by @taylorotwell in https://github.com/laravel/telescope/pull/1402
- Revert "[4.x] Mix to Vite migration" by @taylorotwell in https://github.com/laravel/telescope/pull/1403
[v4.17.1](https://github.com/laravel/telescope/compare/v4.17.0...v4.17.1) - 2023-11-01
- Fixes RelatedEntries is not loaded after migrating from mix to vite by @crynobone in https://github.com/laravel/telescope/pull/1401
[v4.17.0](https://github.com/laravel/telescope/compare/v4.16.4...v4.17.0) - 2023-10-31
- Mix to Vite migration by @esurov in https://github.com/laravel/telescope/pull/1391
[v4.16.4](https://github.com/laravel/telescope/compare/v4.16.3...v4.16.4) - 2023-09-25
- Fix duplicated queries on multiple connections by @February30th in https://github.com/laravel/telescope/pull/1385
[v4.16.3](https://github.com/laravel/telescope/compare/v4.16.2...v4.16.3) - 2023-09-19
- modified moment-timezone package version in package.json by @yoonustehrani in https://github.com/laravel/telescope/pull/1382
[v4.16.2](https://github.com/laravel/telescope/compare/v4.16.1...v4.16.2) - 2023-08-28
- Test Improvements by @crynobone in https://github.com/laravel/telescope/pull/1378
- Handle pushed jobs by @timacdonald in https://github.com/laravel/telescope/pull/1379
[v4.16.1](https://github.com/laravel/telescope/compare/v4.16.0...v4.16.1) - 2023-08-11
- Fix copy to clipboard button position on query preview by @alissn in https://github.com/laravel/telescope/pull/1373
[v4.16.0](https://github.com/laravel/telescope/compare/v4.15.2...v4.16.0) - 2023-08-08
- [4.x] Add hotkey to clear entries without confirmation: CMD+K by @bradleybernard in https://github.com/laravel/telescope/pull/1364
- Enhancement: Multi-Tag Filtering and Search Functionality by @Algeneralo in https://github.com/laravel/telescope/pull/1367
[v4.15.2](https://github.com/laravel/telescope/compare/v4.15.1...v4.15.2) - 2023-07-13
- [4.x] Fixes unexpected jobs on Vapor by @nunomaduro in https://github.com/laravel/telescope/pull/1363
[v4.15.1](https://github.com/laravel/telescope/compare/v4.15.0...v4.15.1) - 2023-06-21
- Fix non existing property by @driesvints in https://github.com/laravel/telescope/pull/1360
[v4.15.0](https://github.com/laravel/telescope/compare/v4.14.6...v4.15.0) - 2023-06-08
- Feature/copy to clipboard by @diogogomeswww in https://github.com/laravel/telescope/pull/1356
[v4.14.6](https://github.com/laravel/telescope/compare/v4.14.5...v4.14.6) - 2023-06-03
- Show list of headers when present by @timacdonald in https://github.com/laravel/telescope/pull/1355
[v4.14.5](https://github.com/laravel/telescope/compare/v4.14.4...v4.14.5) - 2023-06-02
- Avoids serialialisation of exception traces by @nunomaduro in https://github.com/laravel/telescope/pull/1354
[v4.14.4](https://github.com/laravel/telescope/compare/v4.14.3...v4.14.4) - 2023-05-29
- Fixes jobs saying "pending" forever by @nunomaduro in https://github.com/laravel/telescope/pull/1349
- Prevent Memory Leak when using hideRequestParameters and hideRequestHeaders by @danilopinotti in https://github.com/laravel/telescope/pull/1350
[v4.14.3](https://github.com/laravel/telescope/compare/v4.14.2...v4.14.3) - 2023-05-19
- Add duration to HTTP Client watcher by @DougSisk in https://github.com/laravel/telescope/pull/1348
[v4.14.2](https://github.com/laravel/telescope/compare/v4.14.1...v4.14.2) - 2023-04-19
- Fix MailWatcher tags by @Rezrazi in https://github.com/laravel/telescope/pull/1340
[v4.14.1](https://github.com/laravel/telescope/compare/v4.14.0...v4.14.1) - 2023-03-17
- Return callable output on Telescope::withoutRecording by @adamczykpiotr in https://github.com/laravel/telescope/pull/1317
- Removed redundant default value from config file by @siarheipashkevich in https://github.com/laravel/telescope/pull/1323
- Don't use constructor injection in console commands, and inject into handle() instead by @mad-briller in https://github.com/laravel/telescope/pull/1327
[v4.14.0](https://github.com/laravel/telescope/compare/v4.13.2...v4.14.0) - 2023-02-21
- Prevent
Laravel\Scout\Jobs\MakeSearchablejob from being recorded to avoid memory leak by @nicoverbruggen in https://github.com/laravel/telescope/pull/1306 - Allows to specify the log level by @nunomaduro in https://github.com/laravel/telescope/pull/1312
[v4.13.2](https://github.com/laravel/telescope/compare/v4.13.1...v4.13.2) - 2023-02-16
- Create a fresh instance of schema for each migration by @nunomaduro in https://github.com/laravel/telescope/pull/1305
[v4.13.1](https://github.com/laravel/telescope/compare/v4.13.0...v4.13.1) - 2023-02-06
Changed
- Center header button icons by @timacdonald in https://github.com/laravel/telescope/pull/1299
[v4.13.0](https://github.com/laravel/telescope/compare/v4.12.0...v4.13.0) - 2023-01-30
Changed
- A fresh coat of paint by @jessarcher in https://github.com/laravel/telescope/pull/1295
Fixed
- Handle redis connection exception on DumpWatcher register by @aidanthewiz in https://github.com/laravel/telescope/pull/1296
[v4.12.0](https://github.com/laravel/telescope/compare/v4.11.0...v4.12.0) - 2023-01-13
Added
- Laravel v10 Support by @driesvints in https://github.com/laravel/telescope/pull/1292
[v4.11.0](https://github.com/laravel/telescope/compare/v4.10.2...v4.11.0) - 2023-01-03
Added
- Add support for model keys cast to backed enums in FormatModel by @sidquisaad in https://github.com/laravel/telescope/pull/1286
Changed
- Uses PHP Native Type Declarations 🐘 by @nunomaduro in https://github.com/laravel/telescope/pull/1267
[v4.10.2](https://github.com/laravel/telescope/compare/v4.10.1...v4.10.2) - 2022-12-19
Fixed
- Fix deprecations by @driesvints in https://github.com/laravel/telescope/pull/1284
[v4.10.1](https://github.com/laravel/telescope/compare/v4.10.0...v4.10.1) - 2022-12-14
Fixed
- Adjust text-break layout with text-break class by @thomas-goncalves-83 in https://github.com/laravel/telescope/pull/1281
- Fix FormatModel class to work with keyless Pivot models by @Cellard in https://github.com/laravel/telescope/pull/1282
[v4.10.0](https://github.com/laravel/telescope/compare/v4.9.6...v4.10.0) - 2022-12-05
Added
- Add the Ability to Pass Custom
ignore_pathsTo Query Watcher by @Watercycle in https://github.com/laravel/telescope/pull/1276
[v4.9.6](https://github.com/laravel/telescope/compare/v4.9.5...v4.9.6) - 2022-11-08
Fixed
- Fix issue where json_encode quietly fails due to binary data inside telescope entry by @Hexide in https://github.com/laravel/telescope/pull/1266
[v4.9.5](https://github.com/laravel/telescope/compare/v4.9.4...v4.9.5) - 2022-10-06
Fixed
- Dont register redis watcher if the redis service is not bound into the container. by @mad-briller in https://github.com/laravel/telescope/pull/1259
[v4.9.4](https://github.com/laravel/telescope/compare/v4.9.3...v4.9.4) - 2022-10-03
Fixed
- Do not record when unserializing command by @driesvints in https://github.com/laravel/telescope/pull/1257 & https://github.com/laravel/telescope/pull/1258
[v4.9.3](https://github.com/laravel/telescope/compare/v4.9.2...v4.9.3) - 2022-09-12
Fixed
- Fix bug watching invokeable object events by @ziadoz in https://github.com/laravel/telescope/pull/1250
[v4.9.2](https://github.com/laravel/telescope/compare/v4.9.1...v4.9.2) - 2022-08-08
Changed
- HTML Response vs Empty Response by @bdenizar in https://github.com/laravel/telescope/pull/1242
[v4.9.1](https://github.com/laravel/telescope/compare/v4.9.0...v4.9.1) - 2022-07-18
Fixed
- Check tags after set $this->user() by @trin4ik in https://github.com/laravel/telescope/pull/1236
[v4.9.0](https://github.com/laravel/telescope/compare/v4.8.3...v4.9.0) - 2022-04-19
Added
- Add support for ignoring by HTTP Verb by @ArthurPatriot in https://github.com/laravel/telescope/pull/1222
[v4.8.3](https://github.com/laravel/telescope/compare/v4.8.2...v4.8.3) - 2022-04-11
Changed
- Relax user type in GateWatcher to match Laravel base framework. by @CImrie in https://github.com/laravel/telescope/pull/1221
[v4.8.2](https://github.com/laravel/telescope/compare/v4.8.1...v4.8.2) - 2022-04-01
Fixed
- Defer loading monitored tags by @taylorotwell in https://github.com/laravel/telescope/pull/1215
[v4.8.1](https://github.com/laravel/telescope/compare/v4.8.0...v4.8.1) - 2022-03-26
Changed
- CacheWatcher hide values by @dododedodonl in https://github.com/laravel/telescope/pull/1206
- Read from Horizon config when ignoring requests by @lightbulblighter in https://github.com/laravel/telescope/pull/1211
[v4.8.0](https://github.com/laravel/telescope/compare/v4.7.4...v4.8.0) - 2022-03-15
Added
- Add option to record dumps even though the dump watcher tab is not open by @superDuperCyberTechno in https://github.com/laravel/telescope/pull/1199
- Add pause and resume commands by @jamespavett in https://github.com/laravel/telescope/pull/1200
Changed
- Use Throwable instead of Exception by @adriaanzon in https://github.com/laravel/telescope/pull/1201
[v4.7.4](https://github.com/laravel/telescope/compare/v4.7.3...v4.7.4) - 2022-03-03
Changed
- Use new anonymous classes by @mmachatschek in https://github.com/laravel/telescope/pull/1194
Fixed
- Truncate request url more by @driesvints in https://github.com/laravel/telescope/pull/1195
[v4.7.3](https://github.com/laravel/telescope/compare/v4.7.2...v4.7.3) - 2022-02-15
Fixed
- Mails sent through Notifications preview invalid HTML by @guushuizen in https://github.com/laravel/telescope/pull/1188
[v4.7.2](https://github.com/laravel/telescope/compare/v4.7.1...v4.7.2) - 2022-02-04
Fixed
- Fix key handling for ModelWatcher (#1180)
[v4.7.1](https://github.com/laravel/telescope/compare/v4.7.0...v4.7.1) - 2022-02-01
Changed
- Attempt to fix model hydration (#1174)
[v4.7.0 (2022-01-12)](https://github.com/laravel/telescope/compare/v4.6.10...v4.7.0)
Changed
- Laravel 9 Support (#1170)
[v4.6.10 (2022-01-04)](https://github.com/laravel/telescope/compare/v4.6.9...v4.6.10)
Fixed
- Fix issue with array hydration (#1165)
[v4.6.9 (2021-12-07)](https://github.com/laravel/telescope/compare/v4.6.8...v4.6.9)
Changed
- Merge previously defined view data when building the view mailable data (#1157)
Fixed
[v4.6.8 (2021-11-30)](https://github.com/laravel/telescope/compare/v4.6.7...v4.6.8)
Changed
[v4.6.7 (2021-11-16)](https://github.com/laravel/telescope/compare/v4.6.6...v4.6.7)
Changed
- Slow query filter method added (#1146)
[v4.6.6 (2021-11-04)](https://github.com/laravel/telescope/compare/v4.6.5...v4.6.6)
Changed
- Replace Http/Uri with HTTP/URI (#1141)
Fixed
- Fix syntax highlighting (#1142)
[v4.6.5 (2021-10-05)](https://github.com/laravel/telescope/compare/v4.6.4...v4.6.5)
Fixed
- Fix mail to check to allow for null to fields (#1133)
[v4.6.4 (2021-09-16)](https://github.com/laravel/telescope/compare/v4.6.3...v4.6.4)
Fixed
- Don't log HTTP requests to Telescope endpoints (#1127)
- Laravel Octane fix: GateWatcher handles stack trace caller not found (#1128)
[v4.6.3 (2021-09-14)](https://github.com/laravel/telescope/compare/v4.6.2...v4.6.3)
Fixed
- Fix
telescope.domainusage (#1124)
[v4.6.2 (2021-08-17)](https://github.com/laravel/telescope/compare/v4.6.1...v4.6.2)
Fixed
- Rewind http client response after recording (#1114)
[v4.6.1 (2021-08-03)](https://github.com/laravel/telescope/compare/v4.6.0...v4.6.1)
Changed
Fixes
- Suppress filesize errors in client request watcher (#1096)
- Use
intdivwhere appropriate to prevent unexpected conversion to float (#1100) - Fix publishing for disabled module (#1104)
[v4.6.0 (2021-07-13)](https://github.com/laravel/telescope/compare/v4.5.1...v4.6.0)
Added
- Add a new "Clear Entries" button (#1091)
Changed
Telescope:withoutRecording()should be exception safe (#1092)
Fixed
- Fixed frontend request polling memory leaks (#1086)
- Fix for
JobWatcherswhen the job payload is encrypted (#1089)
[v4.5.1 (2021-06-22)](https://github.com/laravel/telescope/compare/v4.5.0...v4.5.1)
Fixed
[v4.5.0 (2021-06-01)](https://github.com/laravel/telescope/compare/v4.4.10...v4.5.0)
Added
- Add http client request watcher (#1073)
[v4.4.10 (2021-06-01)](https://github.com/laravel/telescope/compare/v4.4.9...v4.4.10)
Changed
- Remove asset manifest check and warning (#1063)
Fixed
- Implemented fallback for
PDO::quotemethod onQueryWatcher(#1066)
[v4.4.9 (2021-04-06)](https://github.com/laravel/telescope/compare/v4.4.8...v4.4.9)
Fixed
[v4.4.8 (2021-04-06)](https://github.com/laravel/telescope/compare/v4.4.7...v4.4.8)
Fixed
- Fix query preview (#1044)
[v4.4.7 (2021-04-06)](https://github.com/laravel/telescope/compare/v4.4.6...v4.4.7)
Changed
[v4.4.6 (2021-03-11)](https://github.com/laravel/telescope/compare/v4.4.5...v4.4.6)
Fixed
- Revert "[4.x] Move cache read inside handler to avoid early cache call" (#1030)
[v4.4.5 (2021-03-09)](https://github.com/laravel/telescope/compare/v4.4.4...v4.4.5)
Fixed
- Move cache read inside handler to avoid early cache call (#1025)
[v4.4.4 (2021-02-23)](https://github.com/laravel/telescope/compare/v4.4.3...v4.4.4)
Fixed
- Implement new
GateEvaluatedevent (#1018)
[v4.4.3 (2021-02-16)](https://github.com/laravel/telescope/compare/v4.4.2...v4.4.3)
Fixed
- Handle when
$batchisnull(#1013)
[v4.4.2 (2021-02-09)](https://github.com/laravel/telescope/compare/v4.4.1...v4.4.2)
Fixed
- GateWatcher shows allowed when it is denied via Response class (#1010)
[v4.4.1 (2021-01-26)](https://github.com/laravel/telescope/compare/v4.4.0...v4.4.1)
Fixed
- Prevent access to uninitialized typed properties (#1005)
[v4.4.0 (2020-12-15)](https://github.com/laravel/telescope/compare/v4.3.3...v4.4.0)
Added
- Add model hydrations to model watcher (#1000)
Fixed
- Fix typo in memory calculation (#997)
[v4.3.3 (2020-12-08)](https://github.com/laravel/telescope/compare/v4.3.2...v4.3.3)
Fixed
- Revert "[4.x] Updated db command for clearing tables" (#993)
[v4.3.2 (2020-12-08)](https://github.com/laravel/telescope/compare/v4.3.1...v4.3.2)
Changed
- Updated db command for clearing tables (#991)
[v4.3.1 (2020-11-05)](https://github.com/laravel/telescope/compare/v4.3.0...v4.3.1)
Fixed
- Fix for database migrations publishing path (#979)
[v4.3.0 (2020-11-03)](https://github.com/laravel/telescope/compare/v4.2.0...v4.3.0)
Added
- PHP 8 Support (#977)
Changed
- Consolidate database directory (#975)
[v4.2.0 (2020-10-20)](https://github.com/laravel/telescope/compare/v4.1.0...v4.2.0)
Added
- Be able to specify only allowed paths (#963, (18c475f))
- Added
isGate()filter (#967) - Added
isRequest()filter (#966)
[v4.1.0 (2020-10-06)](https://github.com/laravel/telescope/compare/v4.0.1...v4.1.0)
Added
- Dump visibility toggling, search, etc (#959)
[v4.0.1 (2020-09-22)](https://github.com/laravel/telescope/compare/v4.0.0...v4.0.1)
Fixed
- Support new listeners syntax (a69fc6f)
[v4.0.0 (2020-09-08)](https://github.com/laravel/telescope/compare/v3.5.1...v4.0.0)
Added
- Laravel 8 support & Batches support (#903)
Fixed
- May be written to an empty log (#930)
Removed
[v3.5.1 (2020-07-28)](https://github.com/laravel/telescope/compare/v3.5.0...v3.5.1)
Fixed
- Change text for Marking Exceptions as Resolved (#916)
- Add explicit base font family fallback (#920)
- Remove problematic unused code when formatting SQL (#924)
[v3.5.0 (2020-05-14)](https://github.com/laravel/telescope/compare/v3.4.0...v3.5.0)
Added
- Add request IP address to RequestWatcher (#895)
Fixed
- Compile assets (762e4ed)
[v3.4.0 (2020-05-12)](https://github.com/laravel/telescope/compare/v3.3.1...v3.4.0)
Added
- Allow avatar path customization (#890, 94a3952)
- Add entry to afterRecording hook (#893)
- Add afterStore hooks (#894, (600e462))
[v3.3.1 (2020-05-05)](https://github.com/laravel/telescope/compare/v3.3.0...v3.3.1)
Fixed
[v3.3.0 (2020-04-28)](https://github.com/laravel/telescope/compare/v3.2.2...v3.3.0)
Added
- Ability to review Exception context data (#882)
[v3.2.2 (2020-04-21)](https://github.com/laravel/telescope/compare/v3.2.1...v3.2.2)
Fixed
[v3.2.1 (2020-04-14)](https://github.com/laravel/telescope/compare/v3.2.0...v3.2.1)
Fixed
[v3.2.0 (2020-03-17)](https://github.com/laravel/telescope/compare/v3.1.1...v3.2.0)
Added
- Added
isQueryinIncomingEntry(#842)
Fixed
- Preserving the alphabetical order of providers (#841)
[v3.1.1 (2020-02-27)](https://github.com/laravel/telescope/compare/v3.1.0...v3.1.1)
Fixed
- Fix array to string conversion (#839)
[v3.1.0 (2020-02-25)](https://github.com/laravel/telescope/compare/v3.0.0...v3.1.0)
Added
- Laravel 7 support (a26891d)
[v3.0.0 (2020-02-18)](https://github.com/laravel/telescope/compare/v2.1.7...v3.0.0)
Changed
Removed
- Dropped support for Laravel 5.8
[v2.1.7 (2020-02-18)](https://github.com/laravel/telescope/compare/v2.1.6...v2.1.7)
Fixed
- Handle all
eval()failures from Laravel Tinker (#829)
[v2.1.6 (2020-02-12)](https://github.com/laravel/telescope/compare/v2.1.5...v2.1.6)
Fixed
- ReflectionException when used with debugbar (#825)
[v2.1.5 (2020-02-04)](https://github.com/laravel/telescope/compare/v2.1.4...v2.1.5)
Fixed
- Only log file/line for exception trace (#817)
[v2.1.4 (2020-01-21)](https://github.com/laravel/telescope/compare/v2.1.3...v2.1.4)
Fixed
- Avoiding to create guard (#810)
[v2.1.3 (2019-12-19)](https://github.com/laravel/telescope/compare/v2.1.2...v2.1.3)
Fixed
- Check if composers key exists (#797)
[v2.1.2 (2019-12-13)](https://github.com/laravel/telescope/compare/v2.1.1...v2.1.2)
Fixed
- Enable redis events by default if the watcher is enabled (#789)
- Fix Round queries duration to 2 decimal places (#791)
- Fix ignore generic listeners as view composer (#794)
[v2.1.1 (2019-11-23)](https://github.com/laravel/telescope/compare/v2.1...v2.1.1)
Added
- Add information about view composers (#766)
- Add formatted output support for plain text responses (#749)
- Added support for event ignoring (#738)
- Show warning when manifest is outdated (#729)
Changed
Fixed
- Properly Implode Nested(Array) Notification Routes To Fix Array To String Conversion Exception (#778)
- Don't use familyHash for queries (#773)
- Hide php-auth-pw server variable by default (#740)
- Use time instead of duplicated to show global queries duration (#737)
- Check for null values in query bindings (#727)
- Prevent resuming recording when processing sync job (#720)
[v2.1 (2019-09-03)](https://github.com/laravel/telescope/compare/v2.0.6...v2.1)
Added
- Jump to related entry by hash (#708)
- Format SQL in watcher (#714)
- Mark exceptions as resolved (#710)
- Full timestamp on hover (#668)
- Add memory to request watcher (#680)
- Add view collector (#679)
Changed
- Adding meta for disavowing robots (#703)
- Chunk storage of exceptions and tags (#670)
- Simplify dump error screen (#688)
Fixed
- Log failed requests (#701)
- Fix view tab selection order (#707)
- Only load sfDump header once (#714)
- Fix events with ShouldBroadcastNow (#623)
- Support duration calculation without constant
LARAVEL_START(#664) - Optimize dump (#683)
[v2.0.6 (2019-07-12)](https://github.com/laravel/telescope/compare/v2.0.5...v2.0.6)
Fixed
[v2.0.5 (2019-06-05)](https://github.com/laravel/telescope/compare/v2.0.4...v2.0.5)
Added
Fixed
[v2.0.4 (2019-03-28)](https://github.com/laravel/telescope/compare/v2.0.3...v2.0.4)
Fixed
- use
property_exists(eb3f6f8)
[v2.0.3 (2019-03-27)](https://github.com/laravel/telescope/compare/v2.0.2...v2.0.3)
Changed
- Cache key compatibility update (#583)
Fixed
- Newline Config (#595)
[v2.0.2 (2019-03-06)](https://github.com/laravel/telescope/compare/v2.0.1...v2.0.2)
Fixes
- Support apps that run carbon 1.0 (2b976e5)
[v2.0.1 (2019-03-05)](https://github.com/laravel/telescope/compare/v2.0...v2.0.1)
Added
- Added support for
Date::use(CarbonImmutable::class);(d7a3ca4)
[v2.0.0 (2019-02-27)](https://github.com/laravel/telescope/compare/v1.1...v2.0)
Changed
- Update Cache to use seconds instead of minutes (#562)
File: composer.json
{
"name": "laravel/telescope",
"description": "An elegant debug assistant for the Laravel framework.",
"keywords": [
"laravel",
"monitoring",
"debugging"
],
"license": "MIT",
"authors": [
{
"name": "Taylor Otwell",
"email": "[email protected]"
},
{
"name": "Mohamed Said",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"ext-json": "",
"laravel/framework": "^8.37|^9.0|^10.0|^11.0|^12.0|^13.0",
"laravel/sentinel": "^1.0",
"symfony/console": "^5.3|^6.0|^7.0|^8.0",
"symfony/var-dumper": "^5.0|^6.0|^7.0|^8.0"
},
"require-dev": {
"ext-gd": "",
"guzzlehttp/guzzle": "^6.0|^7.0|^8.0",
"laravel/octane": "^1.4|^2.0",
"orchestra/testbench": "^6.48|^7.57|^8.38|^9.15|^10.8|^11.0",
"phpstan/phpstan": "^2.2.9"
},
"autoload": {
"psr-4": {
"Laravel\Telescope\": "src/",
"Laravel\Telescope\Database\Factories\": "database/factories/"
}
},
"autoload-dev": {
"psr-4": {
"Laravel\Telescope\Tests\": "tests/",
"Workbench\App\": "workbench/app/",
"Workbench\Database\": "workbench/database/"
}
},
"extra": {
"laravel": {
"providers": [
"Laravel\Telescope\TelescopeServiceProvider"
]
}
},
"config": {
"sort-packages": true,
"audit": {
"block-insecure": false
}
},
"scripts": {
"post-autoload-dump": "@composer run prepare",
"prepare": "@php ./vendor/bin/testbench package:discover --ansi",
"build": [
"@php ./vendor/bin/testbench package:create-sqlite-db",
"@php ./vendor/bin/testbench telescope:publish --force",
"@php ./vendor/bin/testbench migrate:refresh"
],
"serve": [
"@composer run build",
"@php ./vendor/bin/testbench serve"
]
},
"minimum-stability": "dev",
"prefer-stable": true
}
File: LICENSE.md
The MIT License (MIT)
Copyright (c) Taylor Otwell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
File: package.json
{
"name": "laravel-telescope",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"test": "vitest run",
"test:watch": "vitest",
"watch": "vite build --watch"
},
"devDependencies": {
"@vitejs/plugin-vue2": "^2.3.3",
"@vue/test-utils": "^1.3.6",
"axios": "^1.20",
"bootstrap": "^4.5.0",
"highlight.js": "^11.3.1",
"jquery": "^3.5",
"jsdom": "^30.1.2",
"lodash": "^4.18.1",
"moment": "^2.31.0",
"moment-timezone": "^0.5.45",
"popper.js": "^1.16",
"sass": "^1.74.1",
"sql-formatter": "^15.6.2",
"vite": "^5.4.21",
"vitest": "^3.2.7",
"vue": "^2.7.16",
"vue-copy-to-clipboard": "^1.0.3",
"vue-json-pretty": "^1.6.2",
"vue-router": "^3.6.5"
}
}
File: testbench.yaml
providers:
- Laravel\Telescope\TelescopeServiceProvider
- Laravel\Sentinel\SentinelServiceProvider
- Workbench\App\Providers\TelescopeServiceProvider
migrations:
- database/migrations
seeders:
- Workbench\Database\Seeders\DatabaseSeeder
workbench:
start: '/telescope'
user: [email protected]
File: UPGRADE.md
Upgrade Guide
With every upgrade, make sure to publish Telescope's assets and clear the view cache:
php artisan telescope:publish
php artisan view:clearUpgrading To 5.0 From 4.x
Migration Changes
Telescope 5.0 no longer automatically loads migrations from its own migrations directory. Instead, you should run the following command to publish Telescope's migrations to your application:
php artisan vendor:publish --tag=telescope-migrationsUpgrading To 4.0 From 3.x
Minimum PHP Version
PHP 7.3 is now the minimum required version.
Minimum Laravel Version
Laravel 8.0 is now the minimum required version.
File: .styleci.yml
php:
preset: laravel
js:
tab-width: 4
use-tabs: false
print-width: 120
double-quotes: false
trailing-commas: es5
semicolons: true
arrow-parens: always
bracket-same-line: false
bracket-spacing: true
finder:
exclude:
- "dist"
- "node_modules"
- "vendor"
name:
- ".js"
- ".jsx"
css:
tab-width: 4
use-tabs: false
print-width: 120
double-quotes: false
finder:
exclude:
- "dist"
- "node_modules"
- "vendor"
name:
- ".css"
- ".scss"
- "*.less"
File: resources/boost/skills/telescope-debugging/SKILL.md
name: telescope-debugging
Telescope records every request, job, and command as a batch: the entry itself and every query, cache operation, log, event, exception, and view it produced. The two commands below read this data from the terminal. Prefer them to the web UI.
Workflow
Find the entry. Run
php artisan telescope:list request(orexception,job,query, orcache). Choose the row by URI, class, or duration, then copy its UUID. Skip this step when you want the most recent entry.Show the batch. Run
php artisan telescope:show, orphp artisan telescope:show latest:request. The output is the entry's own detail followed by Queries, Exceptions, Cache, and Logs sections, all from the same batch.Diagnose from the flags. In the Queries table,
DUPmarks queries with the same SQL pattern, which usually indicates an N+1. TheSourcecolumn shows the file and line that ran the query, shortened to a basename; use--jsonfor the full path.SLOWmarks queries over the configured threshold. The Cache header shows hits, misses, and hit rate. An exception entry shows the message, code context, and stack trace.Finish when the finding identifies a file and line or a specific query, rather than only a symptom.
JSON output
Both commands accept --json. Prefer it to table output when you need exact values, want to filter results, or expect long output. telescope:list --json prints an array of entries. telescope:show --json prints {"entry": {...}, "batch": [...]}. Its batch array is in chronological order and already filtered by --type. When no entries match, telescope:list --json prints [] rather than a message.
Every entry has id, batch_id, type, content, family_hash, and created_at. The content keys match the Telescope UI for that type. For example, a query has sql, time, slow, file, and line, while an exception has class, message, file, line, and trace. Two fields are not populated by these commands: tags is always [] (use --tag to filter rather than reading tags from the output), and sequence is null when the entry is addressed by UUID.
# Exception class, message, and location for the latest exception
php artisan telescope:show latest:exception --json | jq '.entry.content | {class, message, file, line}'
# Slow queries in the latest request, with the file that ran them
php artisan telescope:show latest:request --json --type=query | jq '.batch[] | select(.content.slow) | {sql: .content.sql, time: .content.time, file: .content.file, line: .content.line}'
# Repeated SQL patterns in a request (N+1 candidates), most repeated first
php artisan telescope:show latest:request --json --type=query | jq '[.batch[].content.sql] | group_by(.) | map({sql: .[0], count: length}) | sort_by(-.count) | .[] | select(.count > 1)'
# Recent 500 responses
php artisan telescope:list request --json --limit=50 | jq '.[] | select(.content.response_status >= 500) | {id, uri: .content.uri, status: .content.response_status}'
# Failed jobs and their exception messages
php artisan telescope:list job --json | jq '.[] | select(.content.status == "failed") | {id, name: .content.name, error: .content.exception.message}'Reference
latestandlatest:{type}resolve to the most recent entry without a UUID lookup. Any entry type works, includinglatest:queryandlatest:job.--jsonon either command disables truncation, so--fullis only needed for table output.telescope:show --fulldisables truncation of SQL, messages, and payloads.telescope:show --type=query,exceptionlimits batch context to those types when a request produced hundreds of entries.telescope:list --tag=Auth:42filters entries for one authenticated user, because Telescope tags them withAuth:.--batch=lists every entry from one request.--before=<sequence>pages backward using the cursor printed in the footer.--family=<hash>groups recurrences of one exception; read the hash from thefamily_hashfield in--jsonoutput.- Run either command with
--helpfor the full option list and valid entry types.