Multi-Tenant Symfony 5 application [closed]

  backend, devops, infrastructure, php, symfony

I’m wondering if you guys have any good ideas on how to handle a Multi-Tenant Symfony 5 application.

  • I’ve taken a look at having one massive database, however, this really isn’t a solution as is prone to failure, especially as it can get laggy as it gets bigger.

I’ve provided a diagram below on how I plan to setup my app.

- Sub-domains & Custom domains
- Separate databases per tenant
- Easy way to create and delete tenants

Multi Tenant

Source: Symfony Questions