Download the PHP package wamesk/laravel-telescope-dashboard without Composer

On this page you can find all versions of the php package wamesk/laravel-telescope-dashboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-telescope-dashboard

Laravel Telescope Dashboard

Advanced replacement for the default Laravel Telescope UI. Built with Vue 3, Tailwind CSS, and type-specific filtering optimized with virtual generated columns for MySQL and MariaDB.

Features

Requirements

Installation

1. Install via Composer

2. Publish assets

3. Run migrations

The package adds virtual generated columns and indexes to the telescope_entries table for optimized filtering:

4. (Optional) Publish configuration

Configuration

After publishing, the config file is located at config/wame-telescope-dashboard.php:

Authorization

The dashboard uses a Laravel gate for access control. By default, it checks the viewTelescope gate, which is typically defined by Telescope itself in app/Providers/TelescopeServiceProvider.php:

You can change the gate name via the gate config option or the TELESCOPE_DASHBOARD_GATE environment variable.

Usage

Once installed, visit your application at:

Filtering

Each entry type provides its own set of filters. Examples:

Entry Type Available Filters
Requests HTTP method, API type, URI, status code (2xx/3xx/4xx/5xx), min duration, route group, user (email / Auth ID / user ID)
Client Requests HTTP method, API type, URI, status code (2xx/3xx/4xx/5xx), min duration, user (email / Auth ID / user ID)
Queries Slow queries (>100ms), query type (SELECT/INSERT/UPDATE/DELETE), min duration
Exceptions Exception class
Jobs Status (pending/completed/failed), job name
Logs Level (emergency, alert, critical, error, warning, notice, info, debug)
Mail Mailable class, recipient, subject
Models Action (created/updated/deleted), model type
Gates Ability, result (allowed/denied)
Cache Type (hit/missed/set/forget), key

All entry types also support date range and content search filters.

User filter (Requests and Client Requests)

The user filter reads the authenticated user Telescope stores on each entry (the Auth:{id} tag and content.user), and the User column shows its email and ID. The input format picks the lookup:

Input Lookup
Full UUID Indexed tag lookup Auth:{uuid}
UUID prefix (8+ hex characters) Indexed tag prefix Auth:{prefix}%
Contains @ content.user.email contains the value
Anything else content.user.email or content.user.id contains the value

Telescope records a user only while one is authenticated. Entries recorded without one — queued jobs processed by a worker, scheduled commands, requests before login — have no user, so the filter cannot find them and their User cell shows -.

Sorting

Entries can be sorted by:

URL State

All filter and sorting states are synced to URL query parameters. This means you can bookmark or share filtered views:

API Type Column

Requests and Client Requests can show an API type column and filter, e.g. the OpenAPI operationId of the endpoint. The names come from a per-project map of URL masks; without a map the column and filter stay hidden.

Create config/telescope-api-types.php in the application:

Mask syntax (key = "METHOD mask", value = display name):

Part Meaning
GET prefix Optional HTTP method; without it the mask matches any method
{param} Exactly one path segment
* Anything up to the query string (e.g. the scheme and host of outgoing requests)
no ? in the mask The query string is ignored
?key=* in the mask The query string is matched too; * there matches anything

Stored api_type column

The resolved name is stored in the telescope_entries.api_type column (VARCHAR(191), NULL when no mask matches, index idx_te_api_type), so it can be queried directly:

The dashboard column and filter read the same column (the filter is an indexed equality instead of a REGEXP per row).

Custom provider

The map is read by ConfigApiTypeProvider. To load it from elsewhere (a database, a parsed OpenAPI file, ...), implement Wame\LaravelTelescopeDashboard\Contracts\ApiTypeProvider and point the config at it:

Database Optimization

The package adds virtual generated columns (compatible with MySQL 8.0+ and MariaDB 10.2+) to the telescope_entries table for efficient filtering without modifying stored data:

Column Source Type
c_method content->$.method VARCHAR(10)
c_uri content->$.uri VARCHAR(500)
c_response_status content->$.response_status SMALLINT UNSIGNED
c_duration content->$.duration DECIMAL(10,2)
c_time content->$.time DECIMAL(10,2)

Each virtual column has a composite index with (type, should_display_on_index, <column>) for optimal query performance.

The stored (not virtual) api_type column holds the resolved API type name and is indexed as (api_type, type, should_display_on_index), see Stored api_type column.

API Endpoints

The dashboard exposes the following JSON API endpoints (all protected by auth + gate middleware):

Method Endpoint Description
POST /telescope-dashboard/api/entries Search entries with filters and sorting
GET /telescope-dashboard/api/entries/{uuid} Get a single entry
GET /telescope-dashboard/api/entries/{uuid}/detail Get entry with related batch entries
GET /telescope-dashboard/api/filters/{type} Get available filter values for an entry type

Frontend Development

To modify the Vue 3 frontend:

The frontend stack:

After building, publish updated assets:

Translations

The package ships with English, Slovak, and Czech translations. To publish and customize:

Translation files are located in resources/lang/{en,sk,cz}/telescope-dashboard.php.

Comparison with Default Telescope UI

Feature Default Telescope This Package
UI framework Blade templates Vue 3 SPA
Filtering Basic Type-specific with 18 filter variants
Sorting Sequence only Sequence, created_at, duration, time
Query performance Direct JSON queries Virtual columns + composite indexes (MySQL & MariaDB)
Theme Light only Dark / Light with toggle
URL state None Full filter/sort sync
Entry details Separate page Inline expand + full-page detail
Batch viewing Flat list Grouped by entry type
Copy support None UUID and JSON copy
Responsive Desktop-focused Mobile-friendly
Translations English only EN, SK, CZ

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-telescope-dashboard with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^10.0|^11.0|^12.0|^13.0
laravel/telescope Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wamesk/laravel-telescope-dashboard contains the following files

Loading the files please wait ...