Download the PHP package dante/log-cleaner without Composer
On this page you can find all versions of the php package dante/log-cleaner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dante/log-cleaner
More information about dante/log-cleaner
Files in dante/log-cleaner
Download dante/log-cleaner
More information about dante/log-cleaner
Files in dante/log-cleaner
Vendor dante
Package log-cleaner
Short Description Remove logs older than given date
License GPL-3.0
Package log-cleaner
Short Description Remove logs older than given date
License GPL-3.0
Please rate this library. Is it a good library?
Informations about the package log-cleaner
Log Cleaner
Installation
composer require dante/log-cleaner
Usage
./vendor/dante/log-cleaner --source {source} {older-than}
- {source} - "database" or "file"
Logs will be loaded from foobar.log, where I included some example logs. All of them but one are older than 2022-01-01, so that could be a good example.
- {older-than} - date in YYYY-MM-DD format
Log format
In order to be properly parsed, logs have to follow this format:
YYYY-MM-DD: {text}
Testing
./vendor/bin/phpunit tests
All versions of log-cleaner with dependencies
PHP Build Version
Package Version
Requires
symfony/console Version
^7.0
The package dante/log-cleaner contains the following files
Loading the files please wait ...