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

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

zer0php/storage
===============

Store array data in Storage object

1.0.2(7y ago)121MITPHPPHP &gt;= 7.1

Since Sep 13Pushed 7y agoCompare

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

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

ZeroPHP Storage
===============

[](#zerophp-storage)

[![Build Status](https://camo.githubusercontent.com/528c5ceaba77669a1bf31e5ac444be449b67885f942d1725ac177eff7253833e/68747470733a2f2f7472617669732d63692e636f6d2f7a6572307068702f73746f726167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/zer0php/storage)[![Coverage Status](https://camo.githubusercontent.com/8275b65783a2d93ae0082ea0b77bf2325190c5df32625100fc850825613008c8/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a6572307068702f73746f726167652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zer0php/storage?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/3976e66469f5ee34d4aaac9700545baafeb86c99d240552ef07a152f2d421dfc/68747470733a2f2f706f7365722e707567782e6f72672f7a6572307068702f73746f726167652f76657273696f6e)](https://packagist.org/packages/zer0php/storage)

```
$storage = new \Zero\Storage\ArrayStorage([
  'key' => 'value',
  'keyNull' => null
]);
// $storage = new \Zero\Storage\SessionStorage();

$storage->get('key'); //value
$storage->get('not-exists', 'defaultValue'); //defaultValue

$storage->key; //value
$storage['key']; //value
$storage->has('key'); //true
$storage->has('keyNull'); //false
$storage->exists('keyNull'); //true
isset($storage->key); //true
isset($storage['key']); //true

$storage->set('newKey', 'value');
$storage->newKey = value;
$storage['newKey'] = value;

$storage->has('newKey'); //true

$storage->remove('newKey');
//unset($storage->newKey);
//unset($storage['newKey']);

$storage->has('test'); //false
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

3

Last Release

2800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42d7e35f56098ad3156896024726b4efaeade145c40b9a196c57817a7c3eac8c?d=identicon)[zerosuxx](/maintainers/zerosuxx)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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