PHPackages                             shinjin/freezer - 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. shinjin/freezer

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

shinjin/freezer
===============

A cool object storage library

0.6(8y ago)03211MITPHPPHP ^5.6 || ^7.0

Since Feb 16Pushed 8y agoCompare

[ Source](https://github.com/shinjin/freezer)[ Packagist](https://packagist.org/packages/shinjin/freezer)[ Docs](http://github.com/shinjin/freezer)[ RSS](/packages/shinjin-freezer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (4)Versions (7)Used By (1)

Freezer
=======

[](#freezer)

[![Build Status](https://camo.githubusercontent.com/49d4c81b732c0693a1286f950384ac620bc296445627981eaa05ee388e8d15a7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7368696e6a696e2f667265657a65722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/shinjin/freezer)[![Coverage Status](https://camo.githubusercontent.com/1d4f29c150ed2abfe3d73cab6650920d7b0dbb3925493494f11c05e89bbcf63c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7368696e6a696e2f667265657a65722f62616467652e737667)](https://coveralls.io/github/shinjin/freezer)

A cool object storage library.

Use freezer if you need:

- an easy way to store and fetch objects and object graphs
- a schemaless datastore with drivers for PDO, DoctrineCache, and CouchDB

Install
-------

[](#install)

Via Composer

```
$ composer require shinjin/freezer
```

Usage
-----

[](#usage)

```
use Freezer\Storage\Pdo;

$storage = new Pdo(array('driver' => 'sqlite'));

$caveman = new class
{
    public $name        = 'Brendan';
    public $nationality = 'Canadian';
};

$id = $storage->store($caveman);

// wait 2 million years

$caveman = $storage->fetch($id);

print_r($caveman);

// class@anonymous Object
// (
//     [name] => Brendan
//     [nationality] => Canadian
// )
```

See [Usage](docs/Usage.md) and [Old README](docs/OldREADME.md) for the original writeup.

Change log
----------

[](#change-log)

See [CHANGELOG](CHANGELOG.md).

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Bugfixes are welcome. Please submit pull requests to [Github](https://github.com/shinjin/freezer).

Authors
-------

[](#authors)

- [Rick Shin](https://github.com/shinjin)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Acknowledgements
----------------

[](#acknowledgements)

Freezer is based on php-object-freezer by [Sebastian Bergmann](https://github.com/sebastianbergmann). Most of freezer's core and test code is his. Sebastian Bergmann is not affiliated with this project in any way, shape, or form.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

6

Last Release

3007d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/218119?v=4)[Rick Shin](/maintainers/shinjin)[@shinjin](https://github.com/shinjin)

---

Top Contributors

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

---

Tags

object-storageobject-storephpobject-storageobject-storefreezer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shinjin-freezer/health.svg)

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

###  Alternatives

[ivopetkov/object-storage

A better way to work with files

159.5k1](/packages/ivopetkov-object-storage)

PHPackages © 2026

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