Ad

multi-tenant: Laravel multi-domain application package

Tenancy enables running multiple websites from a single Laravel app, isolating data and configurations. It offers flexibility with database separation and an extensible architecture for SaaS and multi-client solutions.
Screenshot of tenancy/multi-tenant homepage

Tenancy is a Laravel package that enables you to run multiple independent websites from a single Laravel installation. It provides features for isolating data, assets, and configurations for each tenant, making it well-suited for SaaS applications and multi-client development. The package offers a flexible approach to data separation, supporting separate databases, table prefixes, or custom configurations via events.

The package boasts an event-driven and extensible architecture, allowing for deep customization. It offers flexible database separation methods, including automatic discovery through Laravel's service provider system. Its clear documentation and active community support contribute to a highly usable and reliable solution for managing multi-tenant applications.

  • Database Separation: Supports separate databases, table prefixes within a single database, or custom configurations via events for tenant data isolation.
  • Extensible Architecture: Event-driven system allowing for easy integration of custom logic and extensions.
  • Web Server Integration: Offers optional integration with web servers for enhanced control over tenant routing and resource management.
  • Tenant-Specific Configurations: Enables defining unique configurations, routes, and code for each tenant.
  • Automatic Service Discovery: Integrates with Laravel's service discovery for simplified setup.
  • Flexible Deployment: Supports various database setups and allows for manual configuration when needed.
  • Developer-Friendly: Provides clear documentation and a straightforward installation process.

Tenancy is a mature and actively maintained package with a strong community. Regular updates and a detailed changelog indicate ongoing development and support. The presence of a comprehensive documentation, active issue reporting, and a welcoming Discord server suggest a reliable and well-supported solution for production environments.

This package is ideal for developers building SaaS platforms, multi-client applications, or any system requiring isolated environments within a single codebase. It simplifies development by providing a robust framework for managing tenant data, resources, and configurations, ultimately reducing development time and complexity.

Languages:
Summarize:
Share:
Stars
2,603
Forks
396
Issues
71
Created
10 years ago
Commit
1 month ago
License
MIT
Archived
No
Updated 1 day ago

Similar Repositories