Feb 23, 2016
0
Level 1
Multi Company Logic Implementation On Lumen
Hi, does anyone here have some experiences about how to implement multi logic for different companies?
The small example that I want to achieve is related about login response. When Company A hit login endpoint it will be have a response for Company A, if Company B hit login endpoint it will be have response for them and can be different with Company A and others.
I'm thinking about to implement a modular ( controller, model ) work of Lumen, but it looks will be a very messy code, since the company can expand to 100 or more.
As comparasion its probably like a Multisite on API.
Please or to participate in this conversation.