Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cvele/multitenantbundle
Provides multi tenancy for Symfony applications
https://github.com/cvele/multitenantbundle
Last synced: 2 months ago
JSON representation
Provides multi tenancy for Symfony applications
- Host: GitHub
- URL: https://github.com/cvele/multitenantbundle
- Owner: cvele
- Created: 2016-02-15T15:27:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-27T14:23:00.000Z (almost 9 years ago)
- Last Synced: 2024-04-16T23:52:40.017Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 52.7 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Security: Security/UserLoginRedirectHandler.php
Awesome Lists containing this project
README
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](https://insight.sensiolabs.com/projects/2b2fa3d6-3fbf-42bc-bb74-d33c67519148/mini.png)](https://insight.sensiolabs.com/projects/2b2fa3d6-3fbf-42bc-bb74-d33c67519148)
[![Build Status](https://travis-ci.org/cvele/MultiTenantBundle.svg?branch=master)](https://travis-ci.org/cvele/MultiTenantBundle)
[![Latest Stable Version](https://poser.pugx.org/cvele/multitenant-bundle/v/stable)](https://packagist.org/packages/cvele/multitenant-bundle)
[![Total Downloads](https://poser.pugx.org/cvele/multitenant-bundle/downloads)](https://packagist.org/packages/cvele/multitenant-bundle)
[![License](https://poser.pugx.org/cvele/multitenant-bundle/license)](https://packagist.org/packages/cvele/multitenant-bundle)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 tenantsTODO 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](https://github.com/cvele/MultiTenantBundle/blob/master/Resources/doc/index.md)
Reporting an issue or a feature request
---------------------------------------Issues and feature requests are tracked in the [Github issue tracker](https://github.com/cvele/MultiTenantBundle/issues).