This project is not covered by Drupal’s security advisory policy.
Pair Store is a lightweight Drupal module that allows you to store, retrieve,
and manage key-value pairs directly in your site configuration or runtime settings.
It's useful for developers looking for a simple interface to store paired data,
especially for temporary or small data needs without building a full entity or content type.
Features
- Store arbitrary key-value data.
- Simple API to set, get, delete, and list pairs.
- Provides an admin UI to /admin/pair-store/list key-value pairs.
Installation
-
Download the module:
- Using Composer:
composer require drupal/pair_store - Or manually download it from the Pair Store project page.
- Using Composer:
-
Enable the module:
- Through the admin UI at
/admin/modules. - Or using Drush:
drush en pair_store
- Through the admin UI at
Usage
Programmatic API
$config = \Drupal::config('pair_store.settings');
$pairs = $config->get('pairs');
Maintainers
- Chance Nyasulu - chancenyasulu
Supporting organizations:
financial support
Project information
- Project categories: Developer tools
4 sites report using this module
- Created by chancenyasulu on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.1
released 14 April 2025
Works with Drupal: ^9 || ^10 || ^11
best for store key pair value. easier to use
Install:



