PHP code example of sarfraznawaz2005 / meter

1. Go to this page and download the library: Download sarfraznawaz2005/meter 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/ */

    

sarfraznawaz2005 / meter example snippets


 "ignore_matched_string" => [
        "query" => [
            "information_schema",
        ]

    ],

// app/Console/Kernel.php
protected function schedule(Schedule $schedule)
{
    $schedule->command('meter:servermonitor')->hourly(); // or daily
}

$schedule->command('meter:prune')->daily();
// or
$schedule->command('meter:prune --days=7')->daily();
bash
php artisan vendor:publish --provider="Sarfraznawaz2005\Meter\MeterServiceProvider"