jord-jd/json-key-value-store
A lightweight JSON-backed key-value store for PHP and Laravel applications. Save and retrieve settings, config values, or small datasets in flat files through a simple API—no database required. Ideal for prototypes, local tools, and lightweight persistence.
storage/app for the store, for example storage/app/key-value, and keep it out of public/. Ensure the web/queue user can create and modify files there.$store = Store::open(storage_path('app/key-value'));
$store->put('theme', ['mode' => 'dark']);
$store->delete('theme');
// Reopen to confirm v4.0.1 delete persistence
$reopened = Store::open(storage_path('app/key-value'));
$reopened->get('theme'); // null
Store::open(...) calls throughout controllers and jobs.getUserPreference(), setImportCheckpoint(), or clearFeatureFlag() rather than raw string keys.storage/app/imports and storage/app/preferences, rather than one shared global file for unrelated data.config:cache. Prefer absolute paths such as storage_path(...) and clear config caches after changing store configuration.\Throwable; otherwise you may hide application bugs behind generic storage fallbacks.How can I help you explore Laravel packages today?