Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Route Statistics Laravel Package

bilfeldt/laravel-route-statistics

Logs Laravel route usage statistics by recording and aggregating requests/responses per route, user, and timeframe (hour/day/month) to minimize database storage. Helps spot heavy users, high-traffic endpoints, and suspicious unauthenticated activity.

View on GitHub
Deep Wiki
Context7
Changes

4.4.0 - 2026-06-03

  • Add PHP 8.5 support

4.3.0 - 2026-03-06

  • Add Laravel 13 support

4.2.1 - 2025-04-12

  • Fix json generation in RouteStatisticFactory

4.2.0 - 2025-02-17

  • Add Laravel 12 support

4.1.0 - 2025-01-27

  • Add Laravel 10 support

4.0.0 - 2024-12-04

  • Add PHP 8.4 compatibility
  • Add route parameters as separate DB field

3.4.0 - 2024-05-10

  • Add config for which model to use in the RouteStatistic models user() relationship

3.3.0 - 2024-05-07

  • Add second-level aggregation and make sure that microseconds is always set to 0

3.2.0 - 2024-02-28

  • Add Laravel 11 compatibility

3.1.0 - 2024-01-08

  • Add PHP 8.3 compatibility

3.0.0 - 2023-09-29

2.2.0 - 2023-07-24

  • Add support for PHP 8.1

2.1.0 - 2023-06-22

  • Add queued logging

2.0.1 - 2023-05-16

  • Use model 'casts' property instead of the depricated dates property

2.0.0 - 2023-05-01

  • Add support for PHP 8.2
  • Minimum PHP requirement 8.2
  • Add support for Laravel 10.*
  • Minimum Laravel requirement 10.0

1.1.0

  • Add query scopes whereApi and whereWeb to the RouteStatistics model.
  • Add a new route:stats artisan command to show statistics of all logged routes.
  • Add a new route:unused artisan command to show all routes without any logs.

1.0.0

  • First production ready release

0.5.0

  • Rename field code to status (breaking change)
  • Cast date field to Carbon (breaking change)

0.4.0

  • Remove the facade and listener and instead rely on the bilfeldt/laravel-request-logger package for actual logging.
  • Remove RouteStatisticInterface in favor of \Bilfeldt\RequestLogger\Contracts\RequestLoggerInterface
  • Remove attributes from log method
  • Rename \Bilfeldt\LaravelRouteStatistics\Http\Middleware\RouteStatistics to RouteStatisticsMiddleware
  • Set minimum Laravel requirement to ^8.50
  • Note that this release contains breaking changes if one interacting with the facade, model, listener or interface directly but for those simply relying on the default macros and middleware there is no problem updating.

0.3.0

  • Fix issue with Factory
  • Fix issue with event/listener registration

0.2.0

  • Implement usage of facade and singleton class instead of adding data to the request input

0.1.1

  • Fix issue with publishing of config and migration

0.1.0

  • initial release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony
spatie/flare-daemon-runtime