Skip to content

Latest commit

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Multitenancy

A helpful library for multitenancy support in Symfony applications.

What it does:

  • Determine the tenant from a route parameter.
  • Scope ORM queries to the current tenant.
  • Scope new entities to the current tenant.
  • Sets the default route parameter.
  • Controller argument resolver for the tenant.

Installation

Use Composer to install the package:

composer require keystone/multitenancy

Add the Symfony bundle to your kernel and configure it:

publicfunctionregisterBundles()
{
$bundles[] = newKeystone\Multitenancy\Bundle\KeystoneMultitenancyBundle();
}
keystone_multitenancy:
tenant_repository_id: app.repository.tenanttenant_route_parameter: tenantSubdomaintenant_filter_column: tenant_id

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages