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

Default Routing Bundle Laravel Package

leaseweb/default-routing-bundle

LeaseWeb DefaultRoutingBundle provides a sensible default routing setup for Symfony applications, using conventions and reusable route definitions to reduce boilerplate, keep controller routes consistent, and simplify routing configuration across PHP projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. borrow. This is a free, open-source (MIT-style) Symfony2 bundle with 8 stars and zero dependents. The realistic decision is not "buy" but "borrow the design pattern or rebuild it natively." Treat it as a reference implementation for convention-over-configuration routing, not a dependency to ship.
  • Roadmap / legacy modernization. If any team is still on Symfony 2.x, this package is a forcing function to schedule that migration. The last release was June 2016 and Symfony 2.x reached end-of-life in November 2018 — so adopting it is effectively a decision to fund an in-house fork.
  • Framework standardization. For a Laravel shop, this bundle is a useful benchmark rather than an artifact: Laravel already ships the equivalent value natively (Route::resource, implicit route-model binding, named routes plus the route() helper for relative URL generation, and Blade's conventional view resolution). The PM decision here is "confirm we get 80% of this for free; do not add a third-party abstraction."
  • Feature/use-case fit. The three capabilities — default routing (controller/action naming derives the route), relative routing (URL generation that degrades gracefully across environments and mount points), and default templating (view path inferred from controller/action) — map to real use cases: large CRUD-heavy admin panels, multi-tenant or reverse-proxied deployments where absolute URLs break, and teams that want to eliminate per-action route boilerplate.
  • Opportunity signal. The high opportunity score (7.78) against a low quality/adoption score (0.47) is the classic profile of an unmet need served by an abandoned tool. That is a legitimate input to a "should we build a small internal routing-convention layer, or is the native framework enough?" spike.

When to Consider This Package

Consider it only if all of the following hold:

  • You are pinned to Symfony 2.3–2.8 and an upgrade is genuinely blocked by business constraints.
  • Your existing controllers already follow the naming conventions the bundle assumes, so adoption is configuration-light.
  • The workload is internal, low-risk, and has no compliance, security-patch, or SLA requirements.
  • You are prepared to fork and maintain it yourself (PHP 7.4/8.x compatibility, PSR-4 autoloading, security review of route resolution logic).

Look elsewhere in almost every other case:

  • Symfony 3.4+ / 4 / 5 / 6 / 7: native attribute/annotation routing plus Route requirements and the router service cover default and relative URL generation; symfony/ux and Twig conventions cover template resolution. No third-party bundle needed.
  • Laravel: the framework's resourceful routing, implicit model binding, named-route URL helpers, and Blade view conventions deliver the same ergonomics with first-party support and no maintenance burden.
  • Any production system with multiple teams: zero dependents and a 2016 release mean no security response, no issue triage, and no compatibility guarantees. The dependency-risk cost dwarfs the boilerplate it removes.
  • When you need route introspection, OpenAPI generation, or contract testing: modern native routers and tools like NelmioApiDocBundle are the correct layer to build on.

How to Pitch It (Stakeholders)

Executive summary: This is a small, unmaintained Symfony2 bundle that removes routing and template boilerplate by inferring routes and views from controller and action names. It is not a candidate for adoption — it has essentially no user base, no release since 2016, and targets a framework version that has been end-of-life since 2018. Bringing it in would convert a solved problem into an ongoing maintenance liability.

The recommendation: Do not add it as a dependency. Instead, harvest the three ideas it validates — convention-derived routes, relative URL generation for proxied/multi-tenant deployments, and inferred template paths — and confirm they are already covered by our framework's native features. If a gap remains after that review, fund a small, time-boxed internal spike to build a thin convention layer we own, rather than adopting an orphaned package.

For engineering: the only sanctioned use is as a read-only design reference; review the route-resolution logic before copying any of it, and verify compatibility against our supported PHP and framework versions. For leadership: the cost is near-zero to evaluate and the risk is near-zero to decline — this is a "skip and standardize" decision, not an investment.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core