Download the PHP package hakam/multi-tenancy-bundle without Composer
On this page you can find all versions of the php package hakam/multi-tenancy-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hakam/multi-tenancy-bundle
More information about hakam/multi-tenancy-bundle
Files in hakam/multi-tenancy-bundle
Package multi-tenancy-bundle
Short Description Flexible and production-ready multi-tenancy bundle for Symfony.
License MIT
Informations about the package multi-tenancy-bundle
Symfony Multi-Tenancy Bundle
๐ Full Documentation: https://ramyhakam.github.io/multi_tenancy_bundle/
๐งฉ Overview
The Symfony Multi-Tenancy Bundle enables scalable, production-ready multi-tenancy for Symfony applications.
Ideal for SaaS platforms, region-based services, and multi-vendor e-commerce systems, this bundle is built around a database-per-tenant architecture, giving each tenant:
- A fully isolated database
- Independent schema and migrations
- Configurable connection parameters (host, driver, credentials)
It integrates seamlessly with Doctrine and Symfonyโs service container, offering:
- Automatic tenant database switching at runtime via
SwitchDbEvent
- Separate migration and fixture paths for main vs. tenant databases
- Dedicated
TenantEntityManager
service for runtime isolation
For full usage examples and advanced configuration, see the documentation.
๐ Quick Installation
1. Via Symfony Flex (Recommended)
Symfony Flex will automatically scaffold config, register the bundle, and create:
2. Manual Installation
Then register in config/bundles.php
, copy the example hakam_multi_tenancy.yaml
from docs, and create the required directories.
๐ Useful Links
- Full Documentation: [https://ramyhakam.github.io/multi\_tenancy\_bundle/]
- GitHub: https://github.com/RamyHakam/multi\_tenancy\_bundle
- Packagist: https://packagist.org/packages/hakam/multi-tenancy-bundle
- Example Project: https://github.com/RamyHakam/multi-tenancy-project-example
๐ License
MIT ยฉ Ramy Hakam
All versions of multi-tenancy-bundle with dependencies
symfony/config Version ^v6.4.0|^7.0
symfony/dependency-injection Version ^v6.4.0|^7.0
symfony/http-kernel Version ^v6.4.0|^7.0
doctrine/doctrine-bundle Version ^2.7
doctrine/doctrine-migrations-bundle Version ^3.0
symfony/orm-pack Version ^2.0
doctrine/annotations Version ^2.0
symfony/filesystem Version ^6.4|^7.0