fruitcake / laravel-telescope-toolbar by barryvdh

Toolbar for Laravel Telescope based on Symfony Web Profiler
1,058,856
777
7
Package Data
Maintainer Username: barryvdh
Maintainer Contact: info@fruitcake.nl (Fruitcake)
Package Create Date: 2019-08-09
Package Last Update: 2024-10-02
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:20:45
Package Statistics
Total Downloads: 1,058,856
Monthly Downloads: 35,601
Daily Downloads: 1,849
Total Stars: 777
Total Watchers: 7
Total Forks: 38
Total Open Issues: 19

Laravel Telescope Toolbar

Packagist License Latest Stable Version Total Downloads

Extends Laravel Telescope to show a powerful Toolbar

See https://github.com/laravel/telescope

Install

First install Telescope and check it works.

Then just install the package with Composer and it will register automatically:

composer require fruitcake/laravel-telescope-toolbar:1.x@dev --dev

The Toolbar will show by default when Telescope is enabled on APP_DEBUG is true.

image

Note: The Toolbar is intended for Development environments, not for production.

Current Features

  • Inject Toolbar for quick info
  • Show redirects and Ajax Requests
  • Link to related Telescope Entry page
  • Show up to 5 entries for collectors, link to details
  • Supported Collectors:
    • Request info / timing
    • User auth
    • Database queries
    • Laravel/php version
    • Cache hit/miss/set
    • Logger entries
    • Exceptions
    • Mails
    • Notifications
    • Jobs
    • Dumps
    • Number of entries for: Commands/Models/Events

Screenshots

Ajax/ Redirects stack:

image

Exception with preview / link to Telescope:

image

Counter for Queries (and Cache etc):

image

Preview for Mail/Notifications/Log entries with link to details:

image

Catch dump() calls and show them directly in the Toolbar instead of the page:

image

License and attribution

Laravel Telescope Toolbar is open-sourced software licensed under the MIT license.

Based on Symfony Web Profiler and Laravel Telescope

The styling, javascript, some icons and html of the Toolbar and (part of) its Collectors are based on the Symfony Web Profiler. JS/CSS is mostly copied and converted to Blade syntax. Collectors are modified to show Laravel data. See https://github.com/symfony/web-profiler-bundle - Copyright (c) 2004-2019 Fabien Potencier

Data from collectors is provided by Laravel Telescope. Some styling/icons/logic are alse re-used. See https://github.com/laravel/telescope - Copyright (c) Taylor Otwell