Laravel multitenancy with a BD only for users

2

I've been searching for Saas and Multi-tenancy but have little material in Portuguese. I saw that it is possible to do a database for each company, but my question is:

Make a single web system for all clients (using PHP + Laravel + MySQL) with a Banco de dados for each company BUT make a Banco de dados only of " empresas " (containing a table " users "with the fields of empresa , usuário , senha , and bd_empresa ) using that% db_database only to verify the login and if the data is right to log into the application using that company's database?

I do not know if I could make it clear, I hope so.

    
asked by anonymous 26.04.2018 / 15:32

0 answers