Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

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
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
PhpStorm logo

PhpStorm

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

PhpStorm
Tinkerwell logo

Tinkerwell

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

Tinkerwell
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit