PHPackages                             rockschtar/wordpress-object-storage - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. rockschtar/wordpress-object-storage

ActiveWordpress-muplugin[File &amp; Storage](/categories/file-storage)

rockschtar/wordpress-object-storage
===================================

Transients in green

0.1.4(5y ago)03.9k[1 PRs](https://github.com/rockschtar/wordpress-object-storage/pulls)MITPHPPHP &gt;=7.1CI passing

Since Feb 4Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/rockschtar/wordpress-object-storage)[ Packagist](https://packagist.org/packages/rockschtar/wordpress-object-storage)[ RSS](/packages/rockschtar-wordpress-object-storage/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (13)Used By (0)

rockschtar/wordpress-object-storage
===================================

[](#rockschtarwordpress-object-storage)

Description
-----------

[](#description)

WordPress [Must Use Plugin](https://codex.wordpress.org/Must_Use_Plugins) that provides functions simliar to [transients](https://developer.wordpress.org/apis/handbook/transients/) but without the general [behavior](https://core.trac.wordpress.org/ticket/20316#comment:47) of transients in WordPress. Stored data persist forever or until expiration time. You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is set. Developed for usage with composer based WordPress projects ([roots/bedrock](https://github.com/roots/bedrock) or[johnpbloch/wordpress](https://github.com/johnpbloch/wordpress)).

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

[](#requirements)

- PHP 7.1
- [Composer](https://getcomposer.org/) to install

Install
-------

[](#install)

```
composer require rockschtar/wordpress-object-storage

```

Usage
-----

[](#usage)

### Set Object

[](#set-object)

```
//without expiration time
rsos_set_object('my-key', 'my-value');

//with expiration time
rsos_set_object('my-key', 'my-value', 60 * 60 * 24);
```

### Get Object

[](#get-object)

```
$myKey = rsos_get_object('my-key');
```

### Delete Object

[](#delete-object)

```
$myKey = rsos_delete_object('my-key');
```

License
-------

[](#license)

rockschtar/wordpress-object-storage is open source and released under MIT license. See [LICENSE.md](LICENSE.md) file for more info.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance57

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~62 days

Recently: every ~89 days

Total

8

Last Release

1898d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/87191?v=4)[Stefan Helmer](/maintainers/rockschtar)[@rockschtar](https://github.com/rockschtar)

---

Top Contributors

[![rockschtar](https://avatars.githubusercontent.com/u/87191?v=4)](https://github.com/rockschtar "rockschtar (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rockschtar-wordpress-object-storage/health.svg)

```
[![Health](https://phpackages.com/badges/rockschtar-wordpress-object-storage/health.svg)](https://phpackages.com/packages/rockschtar-wordpress-object-storage)
```

PHPackages © 2026

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