Laravel Multitenancy
Multi-tenancy is the ability to provide your service to multiple users (tenants) from a single hosted instance of the application. This is contrasted with deploying the application separately for each user.
composer require stancl/tenancy
Then run
php artisan tenancy:install
This will create config/tenancy.php, routes/tenant.php,