phosphor-config

Pluggable configuration backends with schema + migration.

Store over a pluggable IBackend (JSON-on-disk, QSettings, in-memory mock). Schema-driven validation rejects invalid values rather than silently coercing them. MigrationRunner chains versioned JSON transforms — one function per schema bump, no per-key fallback reads outside migrations.

Full API →

Key types

Store
Front-end API: value(), setValue(), valueChanged signal.
IBackend
Pluggable backend contract.
JsonBackend
Default JSON-on-disk implementation.
Schema
Declarative group tree with leaf type and range constraints.
MigrationRunner
Versioned JSON transforms, one per schema bump.

Dependencies

References