An unobtrusive Laravel package for multi-tenancy, enabling multiple independent websites from a single codebase with separated data.
Hyn/Multi-Tenant is a Laravel package that enables multi-tenancy, allowing a single Laravel application to serve multiple independent websites (tenants) from the same codebase. It solves the problem of managing separate data, assets, and configurations for each tenant while keeping the application scalable and maintainable. It provides clear separation of tenant-specific data and supports various database separation strategies.
Laravel developers building SaaS applications, marketing agencies managing multiple client websites, or startups creating scalable multi-tenant platforms. It's also suitable for developers needing to convert an existing Laravel app into a multi-tenant system.
Developers choose Hyn/Multi-Tenant for its unobtrusive integration with Laravel, event-driven extensibility, and flexible database separation options. It offers a robust, production-ready solution without forcing major architectural changes, making it easier to adopt and customize compared to building multi-tenancy from scratch.
Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups, previously github.com/hyn/multi-tenant
Integrates smoothly without requiring major changes to the Laravel application structure, as emphasized in the README's philosophy of staying out of the developer's way.
Built on Laravel events, allowing deep customization through event listeners, which supports flexible tenant management and overrides, as highlighted in the features.
Supports multiple separation methods including isolated databases, table prefixes, or manual handling via events, catering to different scalability and isolation needs.
Offers optional close integration with Apache or Nginx for efficient hostname routing, reducing application-level overhead for tenant identification.
Backed by Discord chat, comprehensive documentation at tenancy.dev, and sponsors, indicating ongoing development and assistance for users.
Requires manual setup steps like publishing configurations, modifying files, and managing system database migrations, which can be time-consuming and error-prone.
Tight integration with Apache or Nginx limits usage in environments with other servers or serverless setups, as noted in the requirements.
With multiple versions (e.g., 5.x) and a changelog, updates might introduce breaking changes, requiring careful migration and testing.
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Debugbar for Laravel (Integrates PHP Debug Bar)
IDE Helper for Laravel
PHP Image Processing
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.