Multi-Tenancy in Laravel 5.5

For the past few months I have been working on a SaaS which, like most SaaS applications has multi-tenancy at it’s core. In this post, I am going to share code from my application and discuss why I have implemented it the way I have. I have implemented it in such a way that each tenant has their own database, I chose this method because it’ll make it easier to split the databases across multiple servers if the need to scale horizontally ever arises. Read more