insenseanalytics / laravel-telescope-pruning
Intelligently trim your Laravel Telescope entries.
v1.0
2020-10-01 06:54 UTC
Requires
- illuminate/database: ^5.5|^6.0|^7.0|^8.0
- illuminate/support: ^5.5|^6.0|^7.0|^8.0
- laravel/telescope: ^0.1.6|^1.0|^2.0|^3.0|^4.0
This package is auto-updated.
Last update: 2024-10-26 07:17:00 UTC
README
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.