muhammad-nawlo/route-tracker
最新稳定版本:v1.0.4
Composer 安装命令:
composer require muhammad-nawlo/route-tracker
包简介
Track usage and hits of Laravel routes automatically with this simple package.
README 文档
README
A simple Laravel package to track and log usage statistics of your application routes.
This package logs each route's hit count and last usage timestamp to a JSON file stored in your app's storage disk.
Features
- Automatically logs every route usage via middleware
- Stores hits count and last used timestamp per route
- Saves data in a JSON file (
route-usage.json) in the storage disk - Lightweight and easy to integrate
- Compatible with Laravel's filesystem abstraction (works with local, S3, etc.)
- Includes PestPHP tests for reliability
Installation
Install the package via Composer:
composer require your-vendor/route-tracker
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-12