By 🐼 Ramakant Gangwar
Laravel Admin & BREAD System with Multi tenant support
You can try demo here
Central Admin https://joy-voyager-multi-tenant.kodmonk.com
Domain 1 Tenant 1 Admin https://domain-1-tenant-1.kodmonk.com
Domain 2 Tenant 1 Admin https://domain-2-tenant-1.kodmonk.com
Domain 1 Tenant 2 Admin https://domain-1-tenant-2.kodmonk.com
Domain 2 Tenant 2 Admin https://domain-2-tenant-2.kodmonk.com
You can clone/install the Joy Voyager Multi Tenant
with the following commands:
git clone git@github.com:rxcod9/joy-voyager-multi-tenant.git
cd joy-voyager-multi-tenant
# OR Install using composer
composer create-project joy/voyager-multi-tenant
cd voyager-multi-tenant
Next make sure to create a new database and add your database credentials to your .env file:
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
You will also want to update your website URL inside of the APP_URL
variable inside the .env file:
APP_URL=http://localhost
APP_CENTRAL_HOST=localhost
To install simply run
./vendor/bin/sail up -d
chmod +x sail-rebuild.sh
. ./sail-rebuild.sh
And we're all good to go!
And, visit
http://localhost/admin
http://domain-1-tenant-1.localhost/admin
http://domain-2-tenant-1.localhost/admin
http://domain-1-tenant-2.localhost/admin
http://domain-2-tenant-2.localhost/admin.