PHPackages                             herrera-io/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. herrera-io/object-storage

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

herrera-io/object-storage
=========================

An object store for specific objects.

1.0.0(12y ago)181.2k22MITPHPPHP &gt;=5.3.3

Since Jun 19Pushed 12y ago2 watchersCompare

[ Source](https://github.com/kherge-archive/php-object-storage)[ Packagist](https://packagist.org/packages/herrera-io/object-storage)[ Docs](http://github.com/herrera-io/php-object-storage)[ RSS](/packages/herrera-io-object-storage/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (2)

Object Storage
==============

[](#object-storage)

[![Build Status](https://camo.githubusercontent.com/ac015847d98f22b399b8ccc0e491a364a6d7f9c89532c8c8ac60870783c770fc/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f686572726572612d696f2f7068702d6f626a6563742d73746f726167652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/herrera-io/php-object-storage)

A simple object storage class that will only allow "supported" objects.

```
class MyObjectStorage extends Herrera\Util\ObjectStorage
{
    public function isSupported($object)
    {
        return ($object instanceof PDO);
    }
}

$store = new MyObjectStorage();
$pdo = new PDO('dsn...');
$time = new DateTime();

$store->attach($pdo);
$store->attach($time); // throws "UnexpectedValueException"
```

Documentation
-------------

[](#documentation)

- [Installing](doc/00-Installing.md)
- [Usage](doc/01-Usage.md)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

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

4713d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9122157?v=4)[Kevin Herrera](/maintainers/kherge)[@kherge](https://github.com/kherge)

---

Top Contributors

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

---

Tags

objectstoragestore

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/herrera-io-object-storage/health.svg)

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

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[sylius/resource-bundle

Resource component for Sylius.

23410.2M173](/packages/sylius-resource-bundle)[microsoft/azure-storage-blob

This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Blob APIs.

5516.0M60](/packages/microsoft-azure-storage-blob)[microsoft/azure-storage-common

This project provides a set of common code shared by Azure Storage Blob, Table, Queue and File PHP client libraries.

4316.8M6](/packages/microsoft-azure-storage-common)

PHPackages © 2026

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