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

jeanguyguygyu's avatar

Multi-tenants app vs API clients

Hi everyone,

I'm building an ERP for my company. We need an admin panel for all employees and we also want to develop a client space which would be totally different.

I was wondering which of these two options is recommended in terms of security and best practices : 1 - building a multitenant Laravel app with two different user interfaces 2 - developing a different Laravel app for the client space which would communicate with the main Laravel app through an API

Thanks for your opinions

0 likes
2 replies
goatshark's avatar

Multi-tenancy and the use of API clients are mutually exclusive. Multi-tenancy affects how your data is or is not separated from being accessed. Whether or not you are going to build an API and talk to it from your front end(s) is a completely different set of decisions.

Please or to participate in this conversation.