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

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
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
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
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian