Download the PHP package semitexa/platform-settings without Composer
On this page you can find all versions of the php package semitexa/platform-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download semitexa/platform-settings
More information about semitexa/platform-settings
Files in semitexa/platform-settings
Package platform-settings
Short Description Semitexa Platform Settings — system settings store for modules (multi-tenant aware)
License MIT
Informations about the package platform-settings
Semitexa Platform Settings
System settings store for modules. Any module can persist its own key-value settings. Multi-tenant aware: when tenancy is enabled, settings are isolated per tenant (tenant_id is injected automatically).
Usage in modules
Inject the contract and read/write by module key:
- module_key: e.g.
platform-user,platform-wm— identifies the owning module (max 128 chars). - key: setting name within the module (max 255 chars).
- value: any JSON-serializable value (scalar, array, object).
WM app
The System Settings app appears on the platform desktop (icon ⚙). It opens /platform/settings and lists all stored settings grouped by module (read-only overview). Modules use SettingsStoreInterface programmatically to read/write.
Database
Table platform_settings is created/updated by the ORM sync. Run:
(or docker compose exec app php vendor/bin/semitexa orm:sync). The collector discovers SettingResource (via #[FromTable]) and applies the schema diff.
Tenant behaviour
- With tenancy disabled or no tenant resolved:
tenant_idstaysNULL; all settings are global. - With tenancy enabled and tenant resolved:
tenant_idis set by the scope; each tenant has its own settings per (module_key, key).
All versions of platform-settings with dependencies
semitexa/core Version *
semitexa/orm Version *
semitexa/platform-wm Version *