PHPackages                             stolfam/conf-storage-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. stolfam/conf-storage-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stolfam/conf-storage-php
========================

Saves configurations of your PHP objects.

1.0.2(4y ago)0193MITPHPPHP &gt;= 7.4

Since Nov 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/stolfam/conf-storage-php)[ Packagist](https://packagist.org/packages/stolfam/conf-storage-php)[ RSS](/packages/stolfam-conf-storage-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

conf-storage-php
================

[](#conf-storage-php)

Saves configurations of your PHP objects.

Install
=======

[](#install)

```
composer require stolfam/conf-storage-php

```

Using
=====

[](#using)

```
$baseSaveDir = __DIR__ . "/your/path";
$namespace = "yourNamespace";
$confStorage = new ConfStorage($baseSaveDir, $namespace);

// your object implementing IConfigurable
$object = new TestObject();

// Save your object
$yourObjectId = "yourObjectId";
$confStorage->save($yourObjectId, $objcet);

// Load your object whenever you want
$yourObject = $confStorage->load($yourObjectId);

```

Features
========

[](#features)

Integrity check
---------------

[](#integrity-check)

Every object is checked when is loaded, if its hash is correct and nobody changed it. Otherwise `null` is returned and you can check `$confStorage->errors` for error messages.

Signing
-------

[](#signing)

You can sign every object with your signature/password:

```
$baseSaveDir = __DIR__ . "/your/path";
$namespace = "yourNamespace";
$confStorage = new ConfStorage($baseSaveDir, $namespace);

$signature = "yourSignatureOrSecretPassword";
$confStorage->setSignature($signature);

```

It works like password. If you have it, you can read objects. Otherwise you get `null`.

Passwords/signatures are NOT stored in plain text. They're always hashed.

Overwriting
-----------

[](#overwriting)

Be aware of that every file is overwritten when is saving.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

1656d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a166fb0b766fa1febb53e4dcee9075a1350e7438e623cd7baafbd8e40557fb9?d=identicon)[stolfam](/maintainers/stolfam)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/stolfam-conf-storage-php/health.svg)

```
[![Health](https://phpackages.com/badges/stolfam-conf-storage-php/health.svg)](https://phpackages.com/packages/stolfam-conf-storage-php)
```

###  Alternatives

[rmm5t/jquery-timeago

jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").

3.8k174.2k2](/packages/rmm5t-jquery-timeago)[mmikkel/cp-clearcache

Less clickin’ to get clearin’

1271.0k2](/packages/mmikkel-cp-clearcache)[deliciousbrains/wp-post-series

WordPress library for adding a series support to posts.

103.2k](/packages/deliciousbrains-wp-post-series)

PHPackages © 2026

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