joy / voyager-multi-tenant
Joy Voyager Multi Tenant. The Missing Admin for Laravel.
Fund package maintenance!
Patreon
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 12
Language:JavaScript
Type:project
Requires
- php: ^8.0.2
- guzzlehttp/guzzle: ^7.2
- laravel/framework: ^9.19
- laravel/sanctum: ^3.0
- laravel/tinker: ^2.7
- spatie/laravel-responsecache: ^7.4
- stancl/tenancy: ^3.6
- tcg/voyager: ^1.6
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.7
- fakerphp/faker: ^1.9.1
- laravel/pint: ^1.0
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^6.1
- phpunit/phpunit: ^9.5.10
- spatie/laravel-ignition: ^1.0
- dev-main
- v1.0.1
- v1.0.0
- dev-renovate/laravel-framework-9.x-lockfile
- dev-renovate/postcss-8.x-lockfile
- dev-renovate/vite-4.x-lockfile
- dev-renovate/axios-1.x-lockfile
- dev-renovate/laravel-vite-plugin-0.x
- dev-renovate/laravel-sail-1.x-lockfile
- dev-renovate/laravel-pint-1.x-lockfile
- dev-renovate/barryvdh-laravel-debugbar-3.x-lockfile
- dev-renovate/spatie-laravel-ignition-1.x-lockfile
- dev-renovate/spatie-laravel-responsecache-7.x-lockfile
- dev-renovate/spatie-laravel-ignition-2.x
This package is auto-updated.
Last update: 2024-11-20 17:30:03 UTC
README
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.