Architecture Overview
The SDK is the Composer package laravelui5/sdk, built on Core. Its tables ship in a second package, laravelui5/sdk-db, which the SDK requires — you never install it yourself. Its PHP namespace LaravelUi5\Sdk\ spans 28 domains, grouped into seven pillars. The package also ships five apps: the Launchpad, Partners, Settings, Audit and Support.
The seven pillars
| Pillar | Domains | Stability |
|---|---|---|
| Identity, security & audit | Security · Runtime · Partners · Audit (new in 2.0) · Support (new in 3.0) | Stable |
| Runtime & data | Sync · OData scoping and the #[Read] gate · Settings · Parameters (per-actor values) | Stable |
| Interaction & dispatch | Action · Execution (units of work) (new in 2.0) · Intent · Impersonation · Http | Stable |
| Shell & UI composition | Shell (the LeanShell) · Weave · the Ui5 bases for dialogs and value helps · Launchpad | Stable |
| Integration points | Login · Installation (the tenant) · Address · Export · Customizing | Stable |
| Content & tooling | Help · I18n (new in 2.0) · Commands | Stable |
| Testing | the scenario DSL | Open by design |
The 28th 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. 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.
| Seam | Contract | What ships |
|---|---|---|
| Login | LoginProviderInterface | an Eloquent provider on your users table |
| Installation | TenantResolverInterface | a resolver that follows the operator's operator_for; app/Installation.php names the operator |
| Address | AddressProviderInterface | nothing — you bind the validator you license |
| Export | ExportWriterInterface | CSV built in; xlsx and other formats are pluggable |
| Customizing | code-owned catalogs | synced 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.