https://github.com/codexshaper/mongodb-multi-tenancy
Laravel Multi Tenancy for MongoDB https://packagist.org/packages/codexshaper/mongodb-multi-tenancy
https://github.com/codexshaper/mongodb-multi-tenancy
Last synced: 5 months ago
JSON representation
Laravel Multi Tenancy for MongoDB https://packagist.org/packages/codexshaper/mongodb-multi-tenancy
- Host: GitHub
- URL: https://github.com/codexshaper/mongodb-multi-tenancy
- Owner: Codexshaper
- Created: 2019-04-20T11:17:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-09T18:34:47.000Z (almost 7 years ago)
- Last Synced: 2025-05-22T22:06:16.161Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mongodb-multi-tenancy
Laravel Multi Tenancy for MongoDB
#Install
```
composer require codexshaper/mongodb-multi-tenancy
```
#Publish Configs and Migrations
```
php artisan vendor:publish --tag=tenancy
```
#Tenant Commands
```
tenant:create {website} {hostname}
tenant:delete {host}
tenant:migrate
tenant:migrate:refresh
```
Example: ```php artisan tenant:create dev dev.codexshaper.com```