PHPackages                             ostrolucky/traceroute - 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. ostrolucky/traceroute

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

ostrolucky/traceroute
=====================

Detect unused routes

0.2(10mo ago)33.8k↓33.3%MITPHPPHP &gt;=8.1

Since Sep 26Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/ostrolucky/traceroute)[ Packagist](https://packagist.org/packages/ostrolucky/traceroute)[ RSS](/packages/ostrolucky-traceroute/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (11)Versions (3)Used By (0)

Detect unused routes
====================

[](#detect-unused-routes)

`traceroute` monitors usage of your application's routes, then shows you unused routes. You might want to do this in order to be able to get rid of unused controllers.

It's inspired by projects such as Symfony's [symfony-route-usage](https://github.com/migrify/symfony-route-usage), Laravel's [route-usage](https://github.com/julienbourdeau/route-usage/) and Rails's [traceroute](https://github.com/amatsuda/traceroute).

It differs from them by being less opinionated and having no dependencies, thanks to SOLID and decoupled design. Framework integrations come as optional bridges, currently shipping with bridge compatible with Symfony 5/6/7.

Install
-------

[](#install)

```
composer require ostrolucky/traceroute
```

### Symfony framework installation

[](#symfony-framework-installation)

Register bridge/bundle in your `config/bundles.php`:

```
return [
    Ostrolucky\Traceroute\Bridge\Symfony\TraceRouteBundle::class => ['prod' => true],
];
```

Usage
-----

[](#usage)

Most of the time library happily monitors route usage in background automatically, recording this information in database table.

You are free to query this table yourself, however what you cannot do is cross-check this table which contains used routes with all routes defined in your application. That's what following command is for:

```
bin/console ostrolucky:unused-routes
```

It will simply output unused route names, meaning routes that are defined in your application, but were never accessed.

Licensing
---------

[](#licensing)

GPLv3 license. Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance57

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~1733 days

Total

2

Last Release

317d ago

PHP version history (2 changes)0.1PHP &gt;=7.1

0.2PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f56471f595636876f95264fa5c455d611329a4820193f88d22e83a5bd900292?d=identicon)[ostrolucky](/maintainers/ostrolucky)

---

Top Contributors

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

---

Tags

symfony-bundleunused-routes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ostrolucky-traceroute/health.svg)

```
[![Health](https://phpackages.com/badges/ostrolucky-traceroute/health.svg)](https://phpackages.com/packages/ostrolucky-traceroute)
```

PHPackages © 2026

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