GithubHelp home page GithubHelp logo

obaidparacha / multi-tenant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tenancy/multi-tenant

0.0 1.0 0.0 331 KB

Run multiple websites using the same laravel installation while keeping tenant specific data separated

License: MIT License

PHP 99.69% Shell 0.31%

multi-tenant's Introduction

Multi tenancy

Latest Stable Version License Build Status [Code Coverage](https://codecov.io/github/hyn/multi-tenan t) StyleCI Reference Status SensioLabsInsight

This package allows for multi tenancy websites on one installation of Laravel.


The goals for this and its related packages are:

  • Unobtrusive multi tenancy for Laravel 5.1 LTS.
  • Provide proper insight into tenants and webserver.
  • Powerful, but flexible for developers, use it the way you want.

Reading material:

What is multi tenancy

Referring to wikipedia;

Multitenancy refers to a software architecture in which a single instance of a software runs on a server and serves multiple tenants.

Multi tenancy how?

In its most abstract sense you can use this package to manage multiple websites with only one application installation.

  • Multiple websites running on one code base.
  • Multiple hostnames configured per website.

Each website has its own folder on disk, allowing:

  • seperation of routes, templates, translations etc
  • custom files (media, themes and packages)

Also each website has its own database, this ensures that in no way one website can access data from another website. The distinction also gives proper division of responsibilities to the system (global) and tenant (local) databases.

For more information visit the documentation.

Example tenant website & demo

One website running on the multi tenant installation of hyn.me is dummy.hyn.me, you can review the code on github.com/hyn/dummy-tenant-website.

Chat or critical bug

Q&A

Please visit the FAQ in the documentation.

multi-tenant's People

Contributors

gitter-badger avatar grahamcampbell avatar luceos avatar thijsvdanker avatar vinkla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.