Giter Club home page Giter Club logo

multitenantbundle's Introduction

MultiTenantBundle

When building SaaS applications more often then not you are going to need multi tenant solution for your users. This bundle aims to provide simple solution for multitenancy.

Bundle takes care only of multitenancy ignoring all other aspects of account system your app might need (for that take a look at FOSUserBundle or something similar).

SensioLabsInsight Build Status Latest Stable Version Total Downloads License

Prerequisites

This version of the bundle requires Symfony 2.4+ and PHP 5.4+.

Features

  • User can own and/or belong to multiple tenants
  • Automatic SQL filtering of tenants on supported entities
  • Entity listener inserts current tenant on supported entities
  • Tenants can be switched on the fly, with URL parameter or via helper method
  • Traits for entities that need to belong to tenants

TODO List

  • Create full PHPUnit test coverage
  • Make more sense in configuration variables
  • Write documentation

Note Bundle currently supports only Doctrine ORM for storage.

Documentation

The source of the documentation is stored in the Resources/doc/ folder in this bundle.

Read Documentation for master

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

multitenantbundle's People

Contributors

cvele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mrkisha

multitenantbundle's Issues

Documentation

Hi,

is there anywhere an example project or an documentation for the configuration?
I try to use the multi tenancy but it dont work for me.

Thanks
Hendrik

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.