Download the PHP package miracuthbert/laravel-multi-tenancy without Composer
On this page you can find all versions of the php package miracuthbert/laravel-multi-tenancy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download miracuthbert/laravel-multi-tenancy
More information about miracuthbert/laravel-multi-tenancy
Files in miracuthbert/laravel-multi-tenancy
Package laravel-multi-tenancy
Short Description A single database and multi-database multi-tenancy package for Laravel 5.8 and up
License MIT
Informations about the package laravel-multi-tenancy
Laravel Multi-Tenancy
A single database and multi-database multi-tenancy package for Laravel 5.8 and up.
For the full installation, configuration and usage, see the Documentation.
Installation
You can install the package via composer:
Setup
The package takes advantage of Laravel Auto-Discovery, so it doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
Run the following command in your console: php artisan tenancy:setup
This will setup:
- The package config file
- The tenant routes file
- TenantDatabaseSeeder (by default used only by the
multi
driver) - Plus a tenant
model
andmigration
file if you passed a model name to the--model
option. See below for more.
You need to setup some of the required keys first in the
config/tenancy.php
file before migrating the database
See the Documentation.
Security Vulnerabilities
If you discover a security vulnerability, please send an e-mail to Cuthbert Mirambo via [email protected]. All security vulnerabilities will be promptly addressed.
Credits
License
Laravel Multi-Tenancy is licensed under GPL-3.0-only. Please see the license file for more information.
All versions of laravel-multi-tenancy with dependencies
illuminate/console Version >=6.0
illuminate/database Version >=6.0
illuminate/support Version >=6.0
illuminate/events Version >=6.0
webpatser/laravel-uuid Version >=3.0