定制 miracuthbert/laravel-multi-tenancy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

miracuthbert/laravel-multi-tenancy

最新稳定版本:1.11.2

Composer 安装命令:

composer require miracuthbert/laravel-multi-tenancy

包简介

A single database and multi-database multi-tenancy package for Laravel 5.8 and up

README 文档

README

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:

composer require miracuthbert/laravel-multi-tenancy

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

Miracuthbert\Multitenancy\LaravelMultiTenancyServiceProvider::class

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 and migration 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 miracuthbert@gmail.com. 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.

统计信息

  • 总下载量: 1.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-09