Weave 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

Router Extra Bundle Laravel Package

jdecoster/router-extra-bundle

A Symfony bundle that extends the default router with additional routing features, helping you define richer route configurations and reduce boilerplate in your applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Roadmap triage: framework-fit audit. This package is a Symfony bundle, not a Laravel package — the Bundle suffix, RoutingExtraBundle naming, and kernel-registration model confirm it. That makes it a non-candidate for a Laravel roadmap and a red flag for the dependency shortlist's taxonomy. A PM should treat this finding as a process bug ("our scan is recommending Symfony bundles for a Laravel review queue") rather than a feature opportunity.
  • Build vs. buy for dynamic routing. The capability it gestures at — routes sourced from a database, tenant config, CMS, or permissions rather than static code — is real and recurring. Use this package as a reference point, not a dependency: it illustrates what a custom route loader looks like, which informs the decision to build ~100 lines in-house in a RouteServiceProvider versus taking on external code.
  • Rejecting thinly-served niches. 1 star, 0 dependents, score 0.035 means there is no ecosystem to ride: no community validation, no security review, no downstream bug reports, no Stack Overflow footprint. For any core request-path concern like routing, that is a maintenance liability the team would own permanently.
  • Use cases it hints at (worth evaluating natively, not via this package): multi-tenant route prefixing, locale-aware route generation, feature-flagged route sets, permission checks injected at the route layer instead of controllers, and routes loaded from persistence.
  • Architecture Decision Records. Best filed as a documented rejected option with reasons, so future teams don't re-litigate it and so the "dynamic routing" conversation starts from "what do we need?" rather than "should we use this?"

When to Consider This Package

Consider it only if all of the following hold:

  • You are maintaining a legacy Symfony 2.x/3.x application that already depends on it, and removal costs more than keeping it.
  • You need its specific route-loader semantics and have verified them against your pinned Symfony version.
  • You have read, vendored, and pinned the source — upstream is effectively unmaintained, so you own it.

Look elsewhere — or build in-house — when:

  • You are on Laravel. It does not apply. Laravel's equivalents are RouteServiceProvider boot logic, route:cache, Route::bind, and middleware groups. A bespoke adapter between the Symfony router and Laravel's route registrar is not a reasonable investment.
  • You are on modern Symfony (5/6/7). Native route loaders, PHP attributes, and RouteCollectionBuilder cover most of what "extra routing" bundles used to patch. Check the maintained upstream (symfony-cmf/routing + symfony-cmf/routing-bundle) before ever touching a fork.
  • Adoption signals matter. Zero dependents means zero evidence it has ever worked in a real production composition. No support contract, no CVE response, no PHP/Symfony version guarantees.
  • Routing is on the critical request path and you cannot afford a forced refactor. An unmaintained dependency that installs cleanly today can block a framework major upgrade in 12–18 months, converting a planned migration into a deadline-driven one.

How to Pitch It (Stakeholders)

For executives: This package surfaced in our dependency scan and the recommendation is not to adopt it. It is a single-maintainer Symfony bundle with essentially no adoption (one star, zero dependent projects) and its stated purpose — "extra routing functionality" — overlaps with capabilities the framework already provides. The cost of adoption isn't licensing; it's the permanent cost of owning an unmaintained dependency in the core request path. The correct move is to decline, document the reasoning, and if a concrete dynamic-routing requirement appears, build the loader natively where we control the tests, version constraints, and security posture.

For engineering: Treat it as a reference implementation, not a dependency. Read the route-loader pattern if we need routes sourced from a database or tenant config, then implement it in our own service provider. Also worth correcting our package index: this was evaluated as a Laravel/PHP candidate but it is a Symfony bundle, which suggests the scanning taxonomy is mis-tagging framework-specific packages and inflating the review queue. If routing flexibility is genuinely on the roadmap, the maintained Symfony CMF upstream — not this fork — is the item to evaluate.

Bottom line: Low strategic value, high ownership cost, wrong framework. Decline, record the decision, and revisit only when a specific dynamic-routing requirement is on the table — in which case, build it natively.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core