Sina-Soltani / Parbad

A free, open-source, integrated and extensible library which connects your web applications to online payment gateways. Gateways can be added or developed by you.
GNU Lesser General Public License v3.0
364 stars 81 forks source link

multi tenancy #389

Closed ShahramNo closed 1 week ago

ShahramNo commented 3 months ago

As our application is designed to serve multiple tenants, we need to ensure that each tenant can have a separate database connection. Therefore, I would like to know if Parbad currently supports or has plans to support the following features:

Multi-Tenancy: The ability to manage multiple tenants with isolated data and configurations within the same application instance. Dynamic Connection Strings: The ability to dynamically set and switch database connection strings based on the tenant context. If these features are not currently supported, are there any recommended workarounds or upcoming updates that might address these needs?

Thank you for your assistance. I look forward to your response.

Best regards,

Sina-Soltani commented 3 months ago

If the currently implemented Storage providers don't help you, you can implement the Storage yourself with your own conditions.

Please take a look at Custom Storage.