joy/voyager-multi-tenant

Joy Voyager Multi Tenant. The Missing Admin for Laravel.

Fund package maintenance!
Patreon

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 11

Language:JavaScript

Type:project


README

Latest Version GitHub Workflow Status Total Downloads

Joy Voyager Multi Tenant

By 🐼 Ramakant Gangwar

Laravel Admin & BREAD System with Multi tenant support

Working Example

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

Installation Steps

1. Clone repo/Install Using Composer

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

2. Add the DB Credentials & APP_URL

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

3. Run The Installer

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.