PHPackages                             amol/laravel-route-tracker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amol/laravel-route-tracker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

amol/laravel-route-tracker
==========================

Laraval route tracker

v1.0.2(10mo ago)35[2 issues](https://github.com/AmolKumarGupta/laravel-route-tracker/issues)MITPHPPHP ^8.3||^8.4CI passing

Since Jul 4Pushed 10mo agoCompare

[ Source](https://github.com/AmolKumarGupta/laravel-route-tracker)[ Packagist](https://packagist.org/packages/amol/laravel-route-tracker)[ Docs](https://github.com/)[ RSS](/packages/amol-laravel-route-tracker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (9)Versions (6)Used By (0)

Laravel Route Tracker
=====================

[](#laravel-route-tracker)

[![run-tests](https://github.com/AmolKumarGupta/laravel-route-tracker/actions/workflows/run-tests.yml/badge.svg)](https://github.com/AmolKumarGupta/laravel-route-tracker/actions/workflows/run-tests.yml)

A Laravel package to track and log route usage in your application. Useful for analytics, debugging, and monitoring which routes are accessed and how often.

Features
--------

[](#features)

- Stores route, method, user, and timestamp
- Easy integration with Laravel middleware
- Configurable storage (database, log, etc.)

Support
-------

[](#support)

Laravel versionSupportedLaravel 12✅Laravel 11✅Installation
------------

[](#installation)

Install via Composer:

```
composer require amol/laravel-route-tracker
```

Publish the configuration and migration files:

```
php artisan vendor:publish --provider="Amol\LaravelRouteTracker\RouteTrackerProvider"
```

Run the migrations:

```
php artisan migrate
```

Usage
-----

[](#usage)

The package automatically tracks all route hits when the middleware is enabled.

### Middleware

[](#middleware)

Add the middleware to your routes:

```
Route::middleware(['track.route'])->group(function () {
    // ...your routes...
});
```

Configuration
-------------

[](#configuration)

You can customize the package by editing the `config/route-tracker.php` file after publishing the config.

Options include:

- Enable/disable tracking
- Choose storage driver
- Exclude specific routes or methods (Coming soon)

Viewing Tracked Routes
----------------------

[](#viewing-tracked-routes)

Tracked route data is stored in the `route_logs` table by default. You can query this table or build custom dashboards.

Use Cases
---------

[](#use-cases)

It can be used for storing webhooks called by third-party services, like mailgun, stripe etc, by adding middleware in it.

Testing
-------

[](#testing)

Run the package tests with:

```
composer run test
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please submit issues or pull requests.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance42

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

303d ago

Major Versions

v0.0.1 → v1.0.22025-07-13

PHP version history (2 changes)v0.0.1betaPHP ^8.3

v0.0.1PHP ^8.3||^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/5875832decab33e23a0fd18687e0c02a3a2f69c9c67be12b398b5ea1ac11029c?d=identicon)[AmolKumarGupta](/maintainers/AmolKumarGupta)

---

Top Contributors

[![AmolKumarGupta](https://avatars.githubusercontent.com/u/88397611?v=4)](https://github.com/AmolKumarGupta "AmolKumarGupta (29 commits)")

---

Tags

laravelroute-trackertrackerwebhook-trackerlaravelwebhook trackerroute trackerlaravel-route-tracker

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/amol-laravel-route-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/amol-laravel-route-tracker/health.svg)](https://phpackages.com/packages/amol-laravel-route-tracker)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
