Support the ongoing development of Laravel.io →
API Eloquent Routing
0
moderator

Hello @faruque5698

I think you need to take a look to the (sub)domain routing part of the documentation: https://laravel.com/docs/9.x/routing#route-group-subdomain-rou...

You can probably combine it with a middleware to load the user for your request.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.