I have a personal project that I would like to make available to some companies, but each company must have its own login, so the login screen should have the following address: www.projeto.com.br/empresa/login
.
That is, what I want is that in the same project, with the same code, I have a login that takes into consideration the address entered to choose in which company the user is logging in. Is it possible to do that? If so, how would I resolve the routes?
I'm working with Laravel 5.4
, but since it's still in the definition phase, it does not have any code done, the version here is the least important.