PHP code example of transistorized-cmd / filament-route-statistics

1. Go to this page and download the library: Download transistorized-cmd/filament-route-statistics 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/ */

    

transistorized-cmd / filament-route-statistics example snippets


return [
    'resources' => [
        'navigation_group' => 'System',
        'navigation_icon' => 'heroicon-o-chart-bar-square',
        'navigation_sort' => 190,
        'default_sort_column' => 'id',
        'default_sort_direction' => 'desc',
        'navigation_count_badge' => false,
        'resource' => \Transistorizedcmd\RouteStatistics\Resources\RouteStatisticsResource::class
    ],
    'datetime_format' => 'd/m/Y H:i:s',
    'username' => 'name'
];
bash
php artisan vendor:publish --tag="filament-route-statistics-config"
bash
php artisan vendor:publish --tag="filament-route-statistics-translations"