Download the PHP package dainsys/clear-laravel-logs without Composer
On this page you can find all versions of the php package dainsys/clear-laravel-logs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package clear-laravel-logs
Dainsys Clear Logs Command
Allows to list or delete all laravel...log logs files
Installation
-
Step 1: Add the following entry to your composer.json file:
- Step 2: Run
composer require dainsys/clear-laravel-logs
command to install as a dependency - Step 3: The Package should be auto-discovered by Laravel. However, you could all register it in your config.app file within the providers array:
Ussage
- To just list the log files, run without any argument:
php artisan dainsys:laravel-logs
- To remove all existing log files, pass the --clear flag
php artisan dainsys:laravel-logs --clear
- By default, the last 8 files are keept. To override the number of files to preserve, update the --keep flag
php artisan dainsys:laravel-logs --clear --keep=0
- By default, the package search for any file starting with 'laravel-'. To override, pass the desired starting file name as an option
php artisan dainsys:laravel-logs new_file_name --clear
All versions of clear-laravel-logs with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
illuminate/filesystem Version ^5.7 || ^5.8 || ^6.0 || ^7.0
illuminate/console Version ^5.7 || ^5.8 || ^6.0 || ^7.0
illuminate/support Version ^5.7 || ^5.8 || ^6.0 || ^7.0
illuminate/filesystem Version ^5.7 || ^5.8 || ^6.0 || ^7.0
illuminate/console Version ^5.7 || ^5.8 || ^6.0 || ^7.0
illuminate/support Version ^5.7 || ^5.8 || ^6.0 || ^7.0
The package dainsys/clear-laravel-logs contains the following files
Loading the files please wait ....