PHPackages                             wpsmith/datastore - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. wpsmith/datastore

ActiveLibrary[Caching](/categories/caching)

wpsmith/datastore
=================

An object oriented library for dealing with WordPress options and caching.

012PHPCI failing

Since Jun 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wpsmith/DataStore)[ Packagist](https://packagist.org/packages/wpsmith/datastore)[ RSS](/packages/wpsmith-datastore/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

WordPress Data Store
====================

[](#wordpress-data-store)

[![Build Status](https://camo.githubusercontent.com/f0055b578873e977c7738f9cdfa6dcd6bff5a6e1e4f60b40408992e620a60c2d/68747470733a2f2f7472617669732d63692e6f72672f7770736d6974682f4461746153746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wpsmith/DataStore)[![Latest Stable Version](https://camo.githubusercontent.com/6aaed35e8a82621cafc9eed99b100c36b2e234ac1204c7095e0d610f7b922434/68747470733a2f2f706f7365722e707567782e6f72672f7770736d6974682f4461746153746f72652f762f737461626c65)](https://packagist.org/packages/wpsmith/DataStore)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ad81f7f721eecdb1f383b86215b77d35d73fe5cf2e098e824f2dc8c00d9aa437/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7770736d6974682f4461746153746f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/wpsmith/DataStore/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/24b0247f870a09ec81ede0c58312a1052e38f1aed84a20ce385cbd94ac6fec05/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7770736d6974682f4461746153746f72652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/wpsmith/DataStore/?branch=master)[![License](https://camo.githubusercontent.com/f5828cde837939b7f2020fa1137a898c969aef4985df90ea2aafeebb1c1dba23/68747470733a2f2f706f7365722e707567782e6f72672f7770736d6974682f4461746153746f72652f6c6963656e7365)](https://packagist.org/packages/wpsmith/DataStore)

An object oriented library for dealing with WordPress options and caching.

Requirements
------------

[](#requirements)

- PHP 7.2.0 or above
- WordPress 4.4 or higher (for transient keys longer than 64 characters).

Installation
------------

[](#installation)

The best way to use this package is through Composer:

```
$ composer require wpsmith/DataStore
```

Credits
-------

[](#credits)

Heavily built upon [WordPress Data Storage](https://github.com/mundschenk-at/wp-data-storage).

###  Health Score

18

—

LowBetter than 7% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/46adebc3eebe7494dba592e75ac8f8572222050648b0283515b4a5896648d846?d=identicon)[wpsmith](/maintainers/wpsmith)

---

Top Contributors

[![wpsmith](https://avatars.githubusercontent.com/u/817366?v=4)](https://github.com/wpsmith "wpsmith (5 commits)")[![wpsmithtwc](https://avatars.githubusercontent.com/u/15801496?v=4)](https://github.com/wpsmithtwc "wpsmithtwc (1 commits)")

### Embed Badge

![Health badge](/badges/wpsmith-datastore/health.svg)

```
[![Health](https://phpackages.com/badges/wpsmith-datastore/health.svg)](https://phpackages.com/packages/wpsmith-datastore)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
