Weave Code
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

Routing Bundle Laravel Package

symfony-cmf/routing-bundle

Symfony CMF Routing Bundle adds advanced, dynamic routing to Symfony using a content repository. Supports route documents, redirects, nested routes, locale-aware patterns, and custom route providers to manage URLs from CMS content or databases.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Dynamic Routing for Content-Heavy Applications: Enables flexible, database-driven or API-backed routing for CMS, e-commerce, or multi-tenant SaaS platforms where URLs must adapt to user-generated content (e.g., blog posts, product pages, or custom paths).
  • Microservices & Decoupled Architecture: Supports modular routing for distributed systems where routes are managed independently (e.g., by separate services or third-party integrations).
  • A/B Testing & Feature Flags: Facilitates dynamic route redirection for experimentation (e.g., routing users to different versions of a page based on conditions).
  • Legacy System Modernization: Bridges older monolithic PHP apps with Symfony’s routing system without full rewrite, reducing technical debt.
  • Build vs. Buy: Justifies buying this bundle over custom routing logic if the team lacks bandwidth to build/maintain a scalable solution from scratch.
  • Roadmap Prioritization: Accelerates delivery of dynamic content features (e.g., "Let users define their own URL slugs") by leveraging a battle-tested component.

When to Consider This Package

  • Adopt if:

    • Your app requires runtime route configuration (e.g., fetching routes from a database, API, or cache).
    • You’re using Symfony and need to extend its routing beyond static YAML/XML files (e.g., for a headless CMS or API-driven frontend).
    • You prioritize maintainability over custom routing logic, especially in teams with limited PHP/Symfony expertise.
    • Your use case involves multi-router scenarios (e.g., combining static routes with dynamic ones for fallback logic).
  • Look elsewhere if:

    • Your routing needs are static and simple (use Symfony’s built-in routing).
    • You’re not using Symfony (this bundle is framework-specific).
    • You require real-time route validation or complex path rewrites (consider dedicated packages like api-platform/core or custom solutions).
    • Your team lacks PHP/Symfony familiarity to integrate and debug the bundle effectively.

How to Pitch It (Stakeholders)

For Executives: "This bundle lets us dynamically generate and manage URLs at runtime—critical for scaling our [CMS/e-commerce/SaaS] platform without manual route updates. For example, if a user creates a new blog post, the system can auto-generate a clean URL like /blog/my-post without redeploying. It’s a drop-in solution that saves dev time and future-proofs our routing for features like A/B testing or multi-tenancy. The low maintenance cost (163 stars, active updates) makes it a safer bet than custom code."

For Engineering: *"The symfony-cmf/routing-bundle gives us two key tools:

  1. Chain Router: Combine multiple routers (e.g., static + dynamic) for fallback logic or layered routing.
  2. Dynamic Router: Load routes from a database, API, or cache—ideal for content-driven apps. It’s lightweight, Symfony-native, and avoids reinventing wheel. Tradeoff: We’ll need to design a route storage strategy (e.g., Doctrine entities for DB-backed routes), but the bundle handles the heavy lifting. Perfect for [specific feature X] where we need to avoid hardcoding paths."*
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.
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle
dmstr/api-platform-utils-bundle
dmstr/api-configuration-bundle
chrisdev/ux-components
baks-dev/finances
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle