PHPackages                             morris/microdb - 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. [Database &amp; ORM](/categories/database)
4. /
5. morris/microdb

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

morris/microdb
==============

MicroDB is a minimalistic file-based JSON object database written in PHP.

0.1.1(9y ago)751.9k19[3 issues](https://github.com/morris/microdb/issues)MITPHPPHP &gt;=5.4.0

Since Feb 16Pushed 9y ago11 watchersCompare

[ Source](https://github.com/morris/microdb)[ Packagist](https://packagist.org/packages/morris/microdb)[ Docs](http://morris.github.io/microdb)[ RSS](/packages/morris-microdb/feed)WikiDiscussions master Synced 1mo ago

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

[![Build Status](https://camo.githubusercontent.com/f235e381b9e42e906d708a00c2c93f8a2304c421018c9ad7e8c7dc88fdec34d4/68747470733a2f2f7472617669732d63692e6f72672f6d6f727269732f6d6963726f64622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/morris/microdb) [![Coverage Status](https://camo.githubusercontent.com/03b1fd76a37bacbf4594fdc83ec0de50696c7e83d405979a8d653f811c28af8a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6f727269732f6d6963726f64622f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/morris/microdb?branch=master) [![GitHub version](https://camo.githubusercontent.com/ca1d332254fec7c39633806692f5190f40c9d4f087d55d3622ecf8a11067d355/68747470733a2f2f62616467652e667572792e696f2f67682f6d6f727269732532466d6963726f64622e737667)](https://badge.fury.io/gh/morris%2Fmicrodb) [![](https://camo.githubusercontent.com/33cda7139cdae42bea9e9a08b28570b04c3966e589a3e3809946df3f790483fd/68747470733a2f2f7265706f73732e6865726f6b756170702e636f6d2f3f706174683d6d6f727269732f4d6963726f6462)](https://camo.githubusercontent.com/33cda7139cdae42bea9e9a08b28570b04c3966e589a3e3809946df3f790483fd/68747470733a2f2f7265706f73732e6865726f6b756170702e636f6d2f3f706174683d6d6f727269732f4d6963726f6462)

MicroDB
=======

[](#microdb)

**MicroDB is currently not maintained and highly experimental. See [\#15](https://github.com/morris/microdb/issues/15) for details.**

MicroDB is a minimalistic file-based JSON object database written in PHP.

Features
--------

[](#features)

- Stores JSON objects as plain files
- Arbitrary indices using custom key functions
- Listen to database operations through events
- Synchronize arbitrary operations
- Make use of a subtree

Documentation
-------------

[](#documentation)

For documentation, examples and API, see the [online documentation](http://morris.github.io/microdb).

---

Requirements
------------

[](#requirements)

- PHP 5.4+

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

[](#installation)

The composer package name is `morris/microdb`. You can also download or fork the repository.

License
-------

[](#license)

MicroDB is licensed under the MIT License. See `LICENSE.md` for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.5% 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 ~192 days

Total

2

Last Release

3551d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

0.1.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a8abc912c6edf7bd2c37c29dae5cf7d775cbd6df90601e262440e21448582af?d=identicon)[morris](/maintainers/morris)

---

Top Contributors

[![morris](https://avatars.githubusercontent.com/u/32837?v=4)](https://github.com/morris "morris (37 commits)")[![rickerd](https://avatars.githubusercontent.com/u/1032429?v=4)](https://github.com/rickerd "rickerd (2 commits)")[![tetreum](https://avatars.githubusercontent.com/u/1708730?v=4)](https://github.com/tetreum "tetreum (1 commits)")

---

Tags

jsondatabasefile

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/morris-microdb/health.svg)

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

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[greg0/lazer-database

PHP library to use JSON files like flat-file database

28816.5k4](/packages/greg0-lazer-database)[alvin0/database-json-laravel

Create and manage json databases with Laravel

344.3k](/packages/alvin0-database-json-laravel)[goodwix/doctrine-json-odm

JSON Object-Document Mapping bundle for Symfony and Doctrine

2226.0k](/packages/goodwix-doctrine-json-odm)

PHPackages © 2026

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