PHP code example of alifahmmed / metrics-tracker

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

    

alifahmmed / metrics-tracker example snippets

bash
php artisan vendor:publish --tag=public
php artisan migrate
bash

$request->validate([
    'days' => ' MetricsTracker::getMetricsByDays($days);
bash

php artisan metrics:clean