Registry / web-framework / stancl-tenancy

stancl-tenancy

JSON →
library3.10.0phppackagistunverified

Automatic multi-tenancy for your Laravel application.

composer require stancl/tenancy
INSTALL
IMPORT
SIG · STANCL-TENANCY
S
stancl-tenancy
web-frameworkphpv3.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Tenancy
use Stancl\Tenancy\Tenancy;

Initializes multi-tenancy for a specific tenant.

use Stancl\Tenancy\Tenancy; $tenancy = new Tenancy(); $tenancy->initialize('tenant-id');
Debug
Known issues
gotchaMay conflict with other multi-tenancy packages or custom database configurations.
fix
Ensure no other tenancy packages are installed and review database setup.
affects: >=3.0.0
Upgrade
Version history
3.10.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Meta
2
OpenAI (training)
1
Resources
stancl-tenancy — pip install stancl-tenancy · libregistry