Platform & Tenancy
Multi-tenancy in Semitexa PHP: tenant context resolution and propagation, data isolation, per-tenant configuration, queues and skin generation.
-
Tenant Context Resolution
See how Semitexa resolves the active tenant from subdomain, header, path, or query input before the rest of the platform runs.
-
Per-Tenant Configuration
Three demo tenants with distinct branding. Switch the tenant and everything changes, without a single if/else.
-
Multi-Layer Tenancy
Organization, locale, theme and environment: four independent layers compose into one TenantContext.
-
Data Isolation
Product listing scoped by tenant: switch the tenant and the list changes. Zero manual WHERE clauses.
-
Queue Tenant Propagation
Tenant context travels with queued jobs: the _tenant key is injected automatically and restored by the worker.
-
Skin Generation
Generating a skin: inputs, the generation pipeline and what lands on disk.
-
Skin Algorithms and Knobs
The algorithms behind Semitexa skin generation and every knob you can turn: palette, contrast, typography and spacing derived from a few inputs.
-
Skin Refinement
Refining an existing skin with skin:refine instead of regenerating it.
-
Feature Flags
Declare a flag in code with #[AsFeatureFlag], read it in handlers and templates, and switch it per site or per user from the CLI — with percentage rollouts.