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

Dynamic Subdomain Bundle Laravel Package

netgusto/dynamic-subdomain-bundle

Symfony bundle that brings dynamic subdomain routing to your app: define routes on wildcard hosts like {tenant}.example.com, match incoming subdomains automatically, and generate subdomain-aware URLs with minimal configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Multi-tenant routing feasibility: Informs whether subdomain-per-tenant routing (e.g., acme.yourapp.com) is a build-vs-adopt decision or a small internal routing layer. The bundle only resolves the subdomain into request context; it does not provide tenant provisioning, data isolation, or billing — so it addresses a narrow slice of a multi-tenant roadmap item.
  • Legacy platform continuity: Relevant only to decisions about maintaining or extending an existing Symfony2 application. It has no bearing on a Laravel roadmap — this is a Symfony bundle, not a Laravel package, so any Laravel-based evaluation should treat it as out of scope.
  • Ecosystem fit check: Signals that for greenfield PHP work, subdomain handling should be an internal ~50-line middleware/route constraint rather than a third-party dependency. The feature is small, well-understood, and framework-native in both Symfony (current LTS) and Laravel.
  • Risk/roadmap flag: 14 stars, 0 dependents, and a Symfony2 (end-of-life since 2018/2019) target make this an unsupported dependency. Any decision to adopt it shifts maintenance ownership onto our team.
  • Migration scoping input: If we are planning an upgrade off Symfony2, this bundle is a line item to remove/replace, not to standardize on.

When to Consider This Package

Consider it only when all of the following hold:

  • The application is a Symfony2 (2.x) app still in production, and rewriting routing is not on the near-term roadmap.
  • We need dynamic subdomain resolution (wildcard host → tenant context) and want to avoid hand-rolling it during a maintenance-only phase.
  • The team accepts that the dependency is effectively unmaintained and is willing to vendor/fork it (MIT license permits this) if a fix is needed.

Look elsewhere — or build the ~1 middleware/route-constraint ourselves — when:

  • The stack is Laravel, Symfony 4/5/6/7, or any Symfony2 successor. The bundle's service definitions and API target Symfony2 conventions and will not drop in.
  • Multi-tenancy is a core product capability: tenant resolution needs to be observable, tested, and supported alongside tenant isolation and provisioning. A 14-star bundle is not an appropriate foundation.
  • Security or availability requirements demand a dependency with active maintenance, security response, or vendor support.
  • Timeline allows a native framework solution — in Laravel this is a route-domain constraint plus scoped tenancy middleware, which is cheaper to own than to inherit.

How to Pitch It (Stakeholders)

Bottom line: This is a small, unmaintained Symfony2 bundle for dynamic subdomain routing — not a Laravel package, and not a strategic dependency. We should not adopt it for new work.

For executives: The problem it solves (routing tenant.yourapp.com to the right tenant) is a few days of native framework work, not a vendor decision. Adopting a 14-star, zero-dependent, end-of-life-targeted library creates maintenance and security exposure with no offsetting benefit. There is no cost, licensing, or procurement upside — it is MIT and free, but free-and-abandoned is the expensive option.

For engineering: Treat subdomain resolution as first-class internal code — a route-domain constraint plus tenant-scope middleware in Laravel, or a request listener plus route requirement in current Symfony. That gives us tests, observability, and upgrade safety. If a legacy Symfony2 service already depends on this bundle, scope its removal into that service's upgrade or sunset plan and cap further investment.

Recommendation: No adoption for new products. For legacy Symfony2 maintenance, tolerate it short-term under a fork-and-own assumption, with removal booked against the platform-upgrade roadmap.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin