Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lancis's avatar
Level 11

Multi Tenant SaaS

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.

0 likes
4 replies
alev's avatar

@lancis I also want to implement a multi tenant database in a new project of mine like you did. Are you satisfied with your approach so far?

Have you considered using https://tenancy.samuelstancl.me ? It seems like a good solution too and appears to be Laravel 6 and upwards compatible.

lostlian's avatar

Just tried this one and took me 20 minutes to convert my application to Multitenant. Really easy to set up

1 like
Lucacoelhoguedes's avatar

@lostlian Hello, I already have a CRM ready and operational.

It's made in Laravel, and I want to turn it into SaaS, how much would you charge me?

The CRM is called Concord CRM (codecanyon)


Please or to participate in this conversation.