PHPackages                             scheb/in-memory-data-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. [Testing &amp; Quality](/categories/testing)
4. /
5. scheb/in-memory-data-storage

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

scheb/in-memory-data-storage
============================

A simple in-memory data storage

v1.0.0(7y ago)8322MITPHPPHP ^7.1.3

Since Sep 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/scheb/in-memory-data-storage)[ Packagist](https://packagist.org/packages/scheb/in-memory-data-storage)[ Docs](https://github.com/scheb/in-memory-data-storage)[ RSS](/packages/scheb-in-memory-data-storage/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

scheb/in-memory-data-storage
============================

[](#schebin-memory-data-storage)

[![Build Status](https://camo.githubusercontent.com/c355cd689050383e590d879e6d5b993a1fe5374b6d9d36ed2886faec499f27ef/68747470733a2f2f7472617669732d63692e6f72672f73636865622f696e2d6d656d6f72792d646174612d73746f726167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/scheb/in-memory-data-storage)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f93e579e4058f20b2a2f6d9ec75a6e5caee796ad80fe6c8d86ff874fb4e559e9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73636865622f696e2d6d656d6f72792d646174612d73746f726167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/scheb/in-memory-data-storage/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/dad9b41bc9dd8c4d5e98a2168db7cbbdab89850f58cbc3a7aed95a895a9ed3a5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73636865622f696e2d6d656d6f72792d646174612d73746f726167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/scheb/in-memory-data-storage/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/5367c3a2689bc55cc8949becc7d8b910d3270871bd1db3a53c177e3c0c78849b/68747470733a2f2f706f7365722e707567782e6f72672f73636865622f696e2d6d656d6f72792d646174612d73746f726167652f762f737461626c652e737667)](https://packagist.org/packages/scheb/in-memory-data-storage)[![License](https://camo.githubusercontent.com/2b6f99cf5c60a6f4ca1c0795c7d60335d61b6f19640f50dd0bf23fbb3aa3721f/68747470733a2f2f706f7365722e707567782e6f72672f73636865622f696e2d6d656d6f72792d646174612d73746f726167652f6c6963656e73652e737667)](https://packagist.org/packages/scheb/in-memory-data-storage)

A fast in-memory data storage in plain PHP. It can be used as a test double for a database, in order to to decouple the test cases from the database and speeding them up.

Features
--------

[](#features)

- CRUD operations
- Convenience methods for data selection and manipulation
- Named items

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

[](#installation)

```
composer require scheb/in-memory-data-storage
```

How to use
----------

[](#how-to-use)

You can find an executable example in the `doc` folder.

```
