PHPackages                             aeviiq/storage-manager - 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. aeviiq/storage-manager

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

aeviiq/storage-manager
======================

Storage Manager Component

v6.1(3y ago)417.4k21MITPHPPHP ^8.1CI failing

Since May 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/aeviiq/storage-manager)[ Packagist](https://packagist.org/packages/aeviiq/storage-manager)[ Docs](https://github.com/aeviiq/storage-manager)[ RSS](/packages/aeviiq-storage-manager/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (11)Versions (19)Used By (1)

Storage Manager Component
=========================

[](#storage-manager-component)

Why
---

[](#why)

To provide an easy way to store data with references to Doctrine entities, without storing the entities or their proxies themselves. A deep copy of the original object is made, in which any entity will be detached and have their identifiers stored with them. These will be used to retrieve a managed entity upon load().

The objects are saved as a copy, meaning referential changes will not affect the object that is stored. To persist any changes, save() the object. See example below.

#### Support for readonly properties

[](#support-for-readonly-properties)

*To copy an object, the StorageManager uses the [DeepCopy](https://github.com/myclabs/DeepCopy) component from MyClabs. This component does not yet have support for the newly introducted [readonly properties](https://wiki.php.net/rfc/readonly_properties_v2) in PHP 8.1.*

*They do have an open [ticket](https://github.com/myclabs/DeepCopy/issues/174) to support this.*

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

[](#installation)

```
composer require aeviiq/storage-manager

```

Usage
-----

[](#usage)

```
final class Foo
{
    public function __construct(private readonly StorageManagerInterface $storageManager)
    {
    }

    public function __invoke(): void
    {
        $object = new stdClass();
        $object->foo = 'foo';

        $this->storageManager->save('some_key', $object);
        // These changes are made after the save() call and will not be there upon load().
        $object->foo = 'bar';

        $loadedObject = $this->storageManager->load('some_key');

        $object === $loadedObject; // false
        $loadedObject->foo === 'bar' // false
    }
}
```

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% 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 ~76 days

Recently: every ~103 days

Total

18

Last Release

1296d ago

Major Versions

1.0.x-dev → v2.02019-07-09

2.0.x-dev → 3.0.x-dev2020-02-06

v3.1 → v4.02021-06-04

v4.0.1 → 5.0.x-dev2021-08-27

v4.1 → 6.0.x-dev2022-10-04

PHP version history (4 changes)v1.0PHP ^7.2

5.0.x-devPHP ^7.2 || ^8.0

4.0.x-devPHP ^7.2|^8.0

6.0.x-devPHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34397049?v=4)[aeviiq](/maintainers/aeviiq)[@aeviiq](https://github.com/aeviiq)

---

Top Contributors

[![aeviiq](https://avatars.githubusercontent.com/u/34397049?v=4)](https://github.com/aeviiq "aeviiq (50 commits)")[![nusje2000](https://avatars.githubusercontent.com/u/17175959?v=4)](https://github.com/nusje2000 "nusje2000 (2 commits)")

---

Tags

storagestorage-manager

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/aeviiq-storage-manager/health.svg)

```
[![Health](https://phpackages.com/badges/aeviiq-storage-manager/health.svg)](https://phpackages.com/packages/aeviiq-storage-manager)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[vich/uploader-bundle

Ease file uploads attached to entities

1.9k27.0M138](/packages/vich-uploader-bundle)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M464](/packages/pimcore-pimcore)[sylius/resource-bundle

Resource component for Sylius.

23610.6M211](/packages/sylius-resource-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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