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

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

maleficarum/storage
===================

Maleficarum storage component.

4.0.0(5y ago)020.4k↓86.7%3[1 issues](https://github.com/pharaun13/maleficarum-storage/issues)[3 PRs](https://github.com/pharaun13/maleficarum-storage/pulls)proprietaryPHPPHP ^7.2

Since Aug 30Pushed 4y ago3 watchersCompare

[ Source](https://github.com/pharaun13/maleficarum-storage)[ Packagist](https://packagist.org/packages/maleficarum/storage)[ RSS](/packages/maleficarum-storage/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (24)Used By (0)

Maleficarum Storage
===================

[](#maleficarum-storage)

This component replaces the now obsolete Maleficarum Database compoment (). All MSSQL code was removed and persistence layers were decoupled from actual model objects. Additionally generic Redis model/collection repository was implemented and provided as basis for project specific implementations.

Change Log
==========

[](#change-log)

\[4.0.0\] - 2020-12-01
----------------------

[](#400---2020-12-01)

### Changed

[](#changed)

- Handle deprecated methods ()

\[3.4.0\] - 2020-05-14
----------------------

[](#340---2020-05-14)

Added
-----

[](#added)

- Added selectable columns to postgresql collection

\[3.3.1\] - 2020-05-07
----------------------

[](#331---2020-05-07)

Added
-----

[](#added-1)

- Added connection check in deleteAll method in Postgresql collection repository

\[3.3.0\] - 2020-04-20
----------------------

[](#330---2020-04-20)

Added
-----

[](#added-2)

- useCache flag on Postgres Collection and Model constructors to control PDO caching mechanism in underneath populate function

Change Log
==========

[](#change-log-1)

\[3.2.0\] - 2020-01-02
----------------------

[](#320---2020-01-02)

Added
-----

[](#added-3)

- Flag to avoid PDO statements local caching

\[3.1.0\] - 2018-11-08
----------------------

[](#310---2018-11-08)

Added
-----

[](#added-4)

- Added hScan, zScan, sScan methods for redis connection

\[3.0.0\] - 2018-10-23
----------------------

[](#300---2018-10-23)

Added
-----

[](#added-5)

- Added connection retry logic when connecting to postgresql shards. (number of retries can be set via the constructor and/or initializer)
- Added connection retry login when connecting to redis shards. (number of retries can be set via the constructor and/or initializer)
- Added an option to specify connection timeout for postgresql connections.
- Added an option to specify connection timeout for redis connections.

\[2.2.0\] - 2018-09-20
----------------------

[](#220---2018-09-20)

### Added

[](#added-6)

- Added a way to retrieve the list of all shards of a specified type from the shard manager.
- Added an implementation of the scan method to the Redis connection object (it needs a reference call so the magic implementation was insufficient)

### Fixed

[](#fixed)

- Incorrect exception message when attempting to execute logic methods on disconnected redis connection objects.

\[2.1.0\] - 2018-09-10
----------------------

[](#210---2018-09-10)

### Added

[](#added-7)

- Added a way to inject custom shard selectors to data repositories. Shard selection will no longer lie within the interests of data models.
- Bumped Maleficarum\\Data dependency to 4.X+

\[2.0.3\] - 2018-09-06
----------------------

[](#203---2018-09-06)

### Changed

[](#changed-1)

- Performance optimization: a single shard definition will only result in one shard connection, regardless of how many non-default routes point to that shard definition.

\[2.0.2\] - 2018-09-05
----------------------

[](#202---2018-09-05)

### Added

[](#added-8)

- Automatic parameter type detection when binding boolean parameters in Postgresql shards.

\[2.0.1\] - 2018-09-05
----------------------

[](#201---2018-09-05)

### Fixed

[](#fixed-1)

- Fixed a bug that resulted in shard statements being shared across shard connections.

\[2.0.0\] - 2018-09-05
----------------------

[](#200---2018-09-05)

### Changed

[](#changed-2)

- Component updated to work with Maleficarum\\Ioc 3.X

\[1.2.0\] - 2018-09-20
----------------------

[](#120---2018-09-20)

### Added

[](#added-9)

- Added a way to retrieve the list of all shards of a specified type from the shard manager.
- Added an implementation of the scan method to the Redis connection object (it needs a reference call so the magic implementation was insufficient)

### Fixed

[](#fixed-2)

- Incorrect exception message when attempting to execute logic methods on disconnected redis connection objects.

\[1.1.0\] - 2018-09-10
----------------------

[](#110---2018-09-10)

### Added

[](#added-10)

- Added a way to inject custom shard selectors to data repositories. Shard selection will no longer lie within the interests of data models.
- Bumped Maleficarum\\Data dependency to 4.X+

\[1.0.2\] - 2018-09-05
----------------------

[](#102---2018-09-05)

### Added

[](#added-11)

- Automatic parameter type detection when binding boolean parameters in Postgresql shards.

\[1.0.1\] - 2018-09-05
----------------------

[](#101---2018-09-05)

### Fixed

[](#fixed-3)

- Fixed a bug that resulted in shard statements being shared across shard connections.

\[1.0.0\] - 2018-08-27
----------------------

[](#100---2018-08-27)

### Added

[](#added-12)

- initial release of the component

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 55.8% 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 ~48 days

Recently: every ~83 days

Total

18

Last Release

2040d ago

Major Versions

1.0.2 → 2.0.22018-09-06

1.1.0 → 2.1.02018-09-10

1.2.0 → 2.2.02018-09-20

2.2.0 → 3.0.02018-10-23

3.4.0 → 4.0.02020-12-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/eee6d4d80c40921b977cee3ca831cdc1529e4ade4eb5b898aef381969ce85127?d=identicon)[pharaun13](/maintainers/pharaun13)

---

Top Contributors

[![pharaun13](https://avatars.githubusercontent.com/u/18721637?v=4)](https://github.com/pharaun13 "pharaun13 (24 commits)")[![bartekmielnik](https://avatars.githubusercontent.com/u/14890138?v=4)](https://github.com/bartekmielnik "bartekmielnik (9 commits)")[![kchojdak](https://avatars.githubusercontent.com/u/29859227?v=4)](https://github.com/kchojdak "kchojdak (3 commits)")[![MichalStrzelczyk](https://avatars.githubusercontent.com/u/36735429?v=4)](https://github.com/MichalStrzelczyk "MichalStrzelczyk (3 commits)")[![a-kowalski](https://avatars.githubusercontent.com/u/16385105?v=4)](https://github.com/a-kowalski "a-kowalski (2 commits)")[![fuczak](https://avatars.githubusercontent.com/u/4376421?v=4)](https://github.com/fuczak "fuczak (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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