All Projects → spatie → Laravel Multitenancy

spatie / Laravel Multitenancy

Licence: mit
Make your Laravel app usable by multiple tenants

Labels

Projects that are alternatives of or similar to Laravel Multitenancy

Ip Location Zh
获取 IP 地址的真实地理位置
Stars: ✭ 556 (-5.92%)
Mutual labels:  laravel
Laravel Feed
Easily generate RSS feeds
Stars: ✭ 573 (-3.05%)
Mutual labels:  laravel
Laravel Visits
📊 Laravel Visits is a counter that can be attached to any model to track its visits using Redis or Eloquent. (with tags, IP protection and caching)
Stars: ✭ 582 (-1.52%)
Mutual labels:  laravel
Laravel Soap
A soap client wrapper for Laravel
Stars: ✭ 559 (-5.41%)
Mutual labels:  laravel
Learning Resources
"Technology Gold mine" to collect and share materials/resources
Stars: ✭ 573 (-3.05%)
Mutual labels:  laravel
Tables
Bulma themed, VueJS powered Datatable with server-side loading and JSON template setup
Stars: ✭ 575 (-2.71%)
Mutual labels:  laravel
Sudo Su
Laravel package to easily login as other users during development.
Stars: ✭ 554 (-6.26%)
Mutual labels:  laravel
Laracms
LaraCMS 是在学习 laravel ( web 开发实战进阶 + 实战构架 API 服务器) 过程中产生的一个业余作品,试图通过简单的方式,快速构建一套基本的企业站同时保留很灵活的扩展能力和优雅的代码方式,当然这些都得益Laravel的优秀设计。同时LaraCMS 也是一个学习Laravel 不错的参考示例。
Stars: ✭ 588 (-0.51%)
Mutual labels:  laravel
Laravel Ban
Laravel Ban simplify blocking and banning Eloquent models.
Stars: ✭ 572 (-3.21%)
Mutual labels:  laravel
Lumen Generator
A Lumen Generator You Are Missing
Stars: ✭ 578 (-2.2%)
Mutual labels:  laravel
Laravel View Xray
Take a look into your Laravel views
Stars: ✭ 565 (-4.4%)
Mutual labels:  laravel
Laravel Boilerplate
The Laravel Boilerplate Project - https://laravel-boilerplate.com - For Slack access, visit:
Stars: ✭ 5,239 (+786.46%)
Mutual labels:  laravel
Marketplacekit
A platform to create an online marketplace
Stars: ✭ 576 (-2.54%)
Mutual labels:  laravel
Laravel Model States
State support for models
Stars: ✭ 559 (-5.41%)
Mutual labels:  laravel
Laravel Failed Job Monitor
Get notified when a queued job fails
Stars: ✭ 582 (-1.52%)
Mutual labels:  laravel
Laravel Pdf
📄 Easily generate PDF documents from HTML inside of Laravel 5
Stars: ✭ 552 (-6.6%)
Mutual labels:  laravel
Hookphp
HookPHP基于C扩展搭建内置AI编程的架构系统-支持微服务部署|热插拔业务组件-集成业务模型|权限模型|UI组件库|多模板|多平台|多域名|多终端|多语言-含常驻内存|前后分离|API平台|LUA QQ群:679116380
Stars: ✭ 575 (-2.71%)
Mutual labels:  laravel
Laravel Tail
An artisan command to tail your application logs
Stars: ✭ 587 (-0.68%)
Mutual labels:  laravel
Laracsv
A Laravel package to easily generate CSV files from Eloquent model
Stars: ✭ 583 (-1.35%)
Mutual labels:  laravel
Laravel Mysql Spatial
MySQL Spatial Data Extension integration with Laravel.
Stars: ✭ 578 (-2.2%)
Mutual labels:  laravel

An unopinionated multitenancy package for Laravel apps

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This package can make a Laravel app tenant aware. The philosophy of this package is that it should only provide the bare essentials to enable multitenancy.

The package can determine which tenant should be the current tenant for the request. It also allows you to define what should happen when switching the current tenant to another one. It works for multitenancy projects that need to use one or multiple databases.

Before starting with the package, we highly recommend first watching this talk by Tom Schlick on multitenancy strategies.

The package contains a lot of niceties such as making queued jobs tenant aware, making an artisan command run for each tenant, an easy way to set a connection on a model, and much more.

Are you a visual learner? Then watch this video that covers how you can use laravel-multitenancy and how it works under the hood.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Documentation

You can find the entire documentation for this package on our documentation site.

Testing

You'll need to create the following 3 local MySql databases to be able to run the test suite:

  • laravel_mt_landlord
  • laravel_mt_tenant_1
  • laravel_mt_tenant_2

You can run the package's tests:

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

The code of this package is based on the code shown in the Multitenancy in Laravel series by Mohamed Said

Alternatives

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].