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

Symfony Routing Auto Loader Bundle Laravel Package

tourze/symfony-routing-auto-loader-bundle

Symfony bundle that automatically discovers and registers routing definitions, so controllers with route attributes are wired up without manual YAML or PHP configuration. Add the bundle and let it handle route loading for faster, simpler setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Convention over configuration for routing. The bundle auto-loads routes (rather than requiring each module to hand-register route files/imports). That supports the decision to standardise route discovery across a modular Symfony codebase instead of letting each team invent its own import pattern.
  • Modular monolith / multi-bundle architecture. Relevant if the roadmap includes splitting the app into domain bundles or supporting pluggable modules that each ship controllers and expect their routes to "just work" on install.
  • Build vs buy (weakly). A route auto-loader is a small compiler-pass-plus-loader problem — a competent Symfony team can build one in a day or two. Buying is justified only if you're already in the Tourze ecosystem, or if the alternative is a weeks-long internal routing refactor. Do not adopt this as a strategic dependency.
  • Dependency pinning policy. The 0.0.2 → 1.0.0 jump is the first semver stability commitment. It means you can adopt with a ^1.0 constraint and expect breaking changes to be deliberate, rather than the wild swings typical of 0.0.x.
  • Not a Laravel decision. Despite the framing of this assessment, this is a Symfony bundle. It yields nothing for a Laravel codebase — Laravel's route model (route files, Route:: facades, route caching, controller auto-discovery conventions) has no overlap with Symfony bundle route loaders. If the team's stack is Laravel, this is a no-op and should be closed out.

When to Consider This Package

Consider it when:

  • You are on Symfony (6/7) with a genuinely multi-bundle or module-per-domain layout, and route registration boilerplate is a recurring source of friction or merge conflicts.
  • Your team already consumes Tourze packages, so the maintenance/versioning model is a known quantity rather than a new vendor relationship.
  • You want routes discovered by convention/attribute and are comfortable with the loader's discovery rules being implicit rather than declared file-by-file.

Look elsewhere when:

  • The stack is Laravel, Slim, or a non-Symfony framework — this is not applicable.
  • You have a single, small Symfony application. Native routes.yaml / PHP route imports are clearer, fully documented, and zero-dependency.
  • You need fine-grained routing control (per-route prefixes, host/condition constraints, locale variants, priority ordering). Verify the loader exposes these before committing; auto-discovery packages frequently don't.
  • You require a supported dependency with a public issue tracker, documentation, and a maintenance guarantee. This release shipped with an empty changelog — the notes are a bare compare link. That is a real signal about release hygiene and support expectations.

Adoption gate before any commitment: run a one-day spike. Read the loader code, confirm it handles your controller conventions, confirm route caching (cache:clear / router:cache:warmup) still works, and check for conflicts with existing route imports. Empty release notes mean you are evaluating code, not documentation.

How to Pitch It (Stakeholders)

To executives: This is a small, single-purpose infrastructure dependency that removes recurring routing boilerplate across our Symfony modules. Its 1.0.0 release marks an API stability commitment, so it can be version-pinned and upgraded predictably. Risk is low and reversible: routing configuration is declarative, so removal is a config revert rather than a rewrite. Cost is bounded to an evaluation spike, not a project.

To engineering: A Symfony bundle that auto-discovers and loads routes, eliminating per-module route file imports. Two things to flag honestly: (1) the 1.0.0 release notes are effectively empty — a compare link and nothing else — so there is no changelog evidence of what changed across the 0.0.x line, and we should review the diff rather than trust the version bump; and (2) it is a small-footprint package with a correspondingly small maintainer surface, so we should isolate it behind our own route configuration layer to keep substitution cheap. Recommendation: treat 1.0.0 as an API freeze, not a feature release — adopt with a ^1.0 pin only after the spike validates route caching and constraint support.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource