Aug 2, 2016
0
Level 2
Can I use Spark for multitenacy project with multiple DB's
Hello,
I'm using Laravel for one year now and loving it. Learned a lot thanks to Laracasts.
Now I need to go a step further: multitenacy Is it possible to use Spark for a multitenacy web application? And if yes, how would I go about it?
- Concerning DB I guess one DB for spark and a sperate DB for each client?
- Concerning access Each client wil have is own url, fe client1.com, client.be, ... How do I direct the urls to the multitenant app and let it get it's specific config? Through .env files? If yes, how would I set this up?
- what if I want to give certain tenants specific views?
- anything else to consider?
Thanks on avance!
Geert
Please or to participate in this conversation.