This package enables you to intelligently prune your Laravel Telescope entries. You may specify a cap on the number of batches (application cycles) of entries you need. You can also whitelist certain tags (or monitored tags) to avoid pruning them, or specify a separate pruning cap for whitelisted tags!
Pull in the package using composer:
composer require insenseanalytics/laravel-telescope-pruning
To copy the config to your app's config directory:
php artisan vendor:publish --provider="Insense\LaravelTelescopePruning\TelescopePruningServiceProvider"
Register the provider in your config/app.php
file:
'providers' => [
...,
Insense\LaravelTelescopePruning\TelescopePruningServiceProvider::class,
]
We are open to PRs as long as they're backed by tests and a small description of the feature added / problem solved.
The MIT License (MIT). Please see License File for more information.