Tenancy

stancl/tenancy image

Tenancy stats

Downloads
1.6M
Stars
3,113
Open Issues
10
Forks
369

View on GitHub →

Automatic multi-tenancy for your Laravel application.

Tenancy for Laravel - stancl/tenancy

Tenancy for Laravel is a robust Laravel package designed to seamlessly integrate multi-tenancy into your application without the need for altering your existing codebase. It simplifies the implementation of a tenant-based system, focusing on ease of use and minimizing intrusion into Laravel's core functionalities.

Key Features

  • Transparent Integration: Integrates directly with no need to modify model traits to handle database connections differently.
  • No Replacement Required: Utilizes native Laravel classes such as Cache and Storage without requiring replacements with tenancy-aware classes.
  • Automatic Tenant Identification: Features built-in tenant identification based on the hostname, supporting domains and subdomains effortlessly.

Documentation and Support

Installation

Installation details are not provided in the provided text, but typically, Laravel packages can be installed via Composer. Check the official documentation for specific installation commands and configuration steps.

Credits

This package is ideal for developers looking to implement multi-tenancy in their Laravel applications seamlessly, with minimal fuss and maximum compatibility with existing Laravel features.

archtechx photo

Full-stack engineer specializing in TALLstack development.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Stancl Tenancy Related Articles

How to make a Laravel app multi-tenant in minutes image

How to make a Laravel app multi-tenant in minutes

Read article
Automatic Tenancy For Your Laravel App image

Automatic Tenancy For Your Laravel App

Read article
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Statamic logo

Statamic

The drop-in ready Laravel CMS you’re been waiting for. Go full-stack or headless, flat file or database – it’s up to you.

Statamic
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Typesense Search logo

Typesense Search

Typesense is an open source, blazing-fast search engine, optimized for helping you build delightful search experiences for your sites and apps. Natively integrated with Laravel Scout.

Typesense Search