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.
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