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.
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.Consider it only when all of the following hold:
Look elsewhere — or build the ~1 middleware/route-constraint ourselves — when:
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.
How can I help you explore Laravel packages today?