Skip to content

tegos/laravel-telescope-flusher

Repository files navigation

Laravel Telescope Flusher

Flush all Laravel Telescope data safely in local environments.

Latest Version on Packagist Total Downloads PHP Version Laravel Version Software License


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

Installation

You can install the package via Composer:

composer require tegos/laravel-telescope-flusher --dev

Usage

Once installed, you can run the following command to flush Telescope data:

php artisan telescope:flush

Behavior

  • ✅ 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).

Testing

You can run tests using:

composer test

Contributing

Please see CONTRIBUTING for contribution guidelines.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

License

This package is open-source software licensed under the MIT License. See LICENSE for details.


Donate

About

telescope-flusher is a Laravel package that provides a simple artisan command to completely flush all Telescope data from the database

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages