Settings
Settings are application-wide key/value values.
They exist for values that should be stored in the database instead of code or .env.
Use preferences instead when the value belongs to one user.
qore()->settings()->setSetting('invoice_prefix', 'INV');
$prefix = qore()->settings()->getSetting('invoice_prefix', 'INV');
Use getSettingOrFail() when missing configuration should stop execution.