PHP code example of hedii / artisan-log-cleaner

1. Go to this page and download the library: Download hedii/artisan-log-cleaner library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hedii / artisan-log-cleaner example snippets


Hedii\ArtisanLogCleaner\ArtisanLogCleanerServiceProvider::class

php artisan log:clear

php artisan log:clear --keep="keptLog"