This Laravel package shows a route usage.
You can install the package via composer:
composer require pkboom/laravel-route-usageRun the migration:
php artisan migrateYou can see a route usage with:
php artisan route-usage:showYou can remove a route usage that are older than 1 month:
php artisan route-usage:removeYou can see referers.
php artisan route-usage:referersYou can see run time.
php artisan route-usage:runtimeYou can optionally publish the config file with:
php artisan vendor:publish --provider="Pkboom\RouteUsage\RouteUsageServiceProvider" --tag="config"This is the contents of the published config file:
<?php
return [
/*
* List of uris to be excluded when route-usage:show runs.
*/
'exclude' => [
'_debugbar/*', 'horizon/*', 'telescope/*',
],
];composer testThe MIT License (MIT). Please see MIT license for more information.