I am creating an application that, when the client is creating the structure of his store, he will get a subdomain (which he will choose himself) and the database that Laravel will fetch will have the name of the subdomain. EX:
Is there any way I can set the access database based on the subdomain?