Flush all Laravel Telescope data safely in local environments.
Laravel Telescope Flusher is a simple package that provides laravel artisan command to completely flush all telescope data from your database. It ensures a clean slate for debugging and monitoring while preventing execution in production environments.
Efficiently Managing Telescope Entries with Laravel-Telescope-Flusher
You can install the package via Composer:
composer require tegos/laravel-telescope-flusher --dev
Once installed, you can run the following command to flush Telescope data:
php artisan telescope:flush
- ✅ Only runs in local environments (prevents accidental execution in production).
- ✅ Checks if Telescope is installed before running.
- ✅ Truncates all Telescope-related tables.
- ✅ Optimizes the
telescope_entries
table (MySQL).
You can run tests using:
composer test
Please see CONTRIBUTING for contribution guidelines.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
This package is open-source software licensed under the MIT License. See LICENSE for details.