nobita110384's avatar

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.

0 likes
0 replies

Please or to participate in this conversation.