Skip to content

Architecture Overview ​

The SDK is the Composer package laravelui5/sdk, built on Core. Its tables ship with it — one migration per table, loaded from the package. Its PHP namespace LaravelUi5\Sdk\ spans 31 domains, grouped into seven pillars. The package also ships five apps: the Launchpad, Partners, Settings, Audit and Support.

The seven pillars ​

PillarDomainsStability
Identity, security & auditSecurity · Runtime · Partners · Audit (new in 2.0) · Support (new in 3.0)Stable
Runtime & dataSync · OData scoping and the #[Read] gate · Settings · Parameters (per-actor values) · Tms (what a module brings to a tenant's birth) (new in 3.5) · Work items (the inbox) (new in 4.0)Stable
Interaction & dispatchAction · Execution (units of work) (new in 2.0) · Intent · Impersonation · HttpStable
Shell & UI compositionShell (the LeanShell) · Weave · the Ui5 bases for dialogs and value helps · LaunchpadStable
Integration pointsLogin · Installation (the tenant) · Address · Export · Files (stored files) (new in 3.0) · CustomizingStable
Content & toolingHelp · I18n (new in 2.0) · CommandsStable
Testingthe scenario DSLOpen by design

The 31st domain, Scaffolding — the generator behind Core's ui5:action when the SDK is installed — is internal and not part of the contract.

Stable means soft-freeze: validated in our own production applications, with every change additive and announced. Open by design means public, but deliberately reserved to evolve. New in 2.0 marks Audit, Execution and I18n: they ship implemented, not as contracts alone, and freeze with the major like everything else, but so far they have run only in our reference host. They count as Stable once they run in our own production applications. The same holds for what is new since. See Work Items for the inbox. See The Audit and Units of Work.

Integration points: bring your own provider ​

Each seam is a contract you bind; the SDK never forces a third-party dependency on you.

SeamContractWhat ships
LoginLoginProviderInterfacean Eloquent provider on your users table
InstallationTenantResolverInterfacea resolver that follows the operator's operator_for; app/Installation.php names the operator
AddressAddressProviderInterfacenothing — you bind the validator you license
ExportExportWriterInterfaceCSV built in; xlsx and other formats are pluggable
Customizingcode-owned catalogssynced by ui5:sync like every other declaration

Dependency direction ​

The SDK depends on Core, never the reverse. Every SDK service sits behind an interface bound in the SDK's service provider, so a host can replace it through the container.

Code declares, the database decides ​

Core's Ui5Registry knows what exists; the SDK's SdkRegistry extends it with the SDK's metadata — roles, abilities, concepts, value helps. ui5:sync projects that into the sdk_* catalog, and runtime authorization reads the database. See Sync Pipeline and The Core Seam.