insenseanalytics/laravel-telescope-pruning

Intelligently trim your Laravel Telescope entries.

v1.0 2020-10-01 06:54 UTC

README

Packagist License Latest Stable Version Scrutinizer Code Quality Total Downloads

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!

Quick Installation

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"

Service Provider (Optional / auto discovered on Laravel 5.5+)

Register the provider in your config/app.php file:

'providers' => [
    ...,
    Insense\LaravelTelescopePruning\TelescopePruningServiceProvider::class,
]

Requirements

Contributing

We are open to PRs as long as they're backed by tests and a small description of the feature added / problem solved.

License

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