Toolbar for Laravel Telescope based on Symfony Web Profiler


Keywords
debug, toolbar, profiler, laravel, debugbar, webprofiler, telescope
License
MIT

Documentation

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 --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 (when watching the Dump screen, or using debug(...$args))
    • 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