lancis
6 months ago
652
3
Laravel

Multi Tenant SaaS

Posted 6 months ago by lancis

I am planning to building SaaS applications where each client (tenant) needs a separate database while using the same core base code. Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups.

After googling, I came across Tenancy (https://tenancy.dev/) which is a tenant base Laravel modification. It suits to my needs, and i already use it for one of my similar projects.

My problem with Tenancy is that it still used Laravel 5.7 while the latest Laravel is already 6.17 and version 7 is round the corner (i suppose). So, is there a straight way to use the latest Laravel to build a multi tenant SaaS - One Code base, multiple database with multiple domains.

Please sign in or create an account to participate in this conversation.