mirror of
https://github.com/archtechx/tenancy.git
synced 2026-06-21 13:34:02 +00:00
753 B
753 B
Optional Features Reference
Use this when enabling or debugging classes in tenancy.features.
Source Files
src/Features/*src/Tenancy.php
Features
UserImpersonationTelescopeTagsCrossDomainRedirectViteBundlerDisallowSqliteAttachTenantConfig
Behavior
- Features are bootstrapped independently from tenant initialization.
tenancy()->bootstrapFeatures()is idempotent per feature.- Feature bootstrapping is irreversible during the request lifecycle.
TenantConfigis deprecated in favor ofTenantConfigBootstrapper.
Rules
- Inspect the feature class before assuming behavior.
- Enable only the needed features.
- Test each enabled feature in central and tenant contexts where relevant.