PHPackages                             xolf/io-db - 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. xolf/io-db

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

xolf/io-db
==========

File Database

0.0.7(8y ago)0167MITPHP

Since Jul 10Pushed 8y agoCompare

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

READMEChangelog (7)DependenciesVersions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/15438aa084b5f56fe03489c9ba83d514a061f0f72f391383cc137c6298be53bc/68747470733a2f2f7472617669732d63692e6f72672f786f6c662f696f2d64622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/xolf/io-db)

io-db
=====

[](#io-db)

#### Easy setup within 30 seconds: `composer require xolf/io-db`

[](#easy-setup-within-30-seconds-composer-require-xolfio-db)

A static json database system

### Fetch documents from the database

[](#fetch-documents-from-the-database)

```
$user = $io->table('user')->document('admin');

echo $user->name;
```

### Write to documents

[](#write-to-documents)

```
$user = $io->table('user')->document('admin')->write(['password' => 123456]);

echo $user->name . ' Password: ' . $user->password;
```

### Find Documents

[](#find-documents)

```
$users = $io->table('user')->documents()->where(['rights' => 'admin']);

var_dump($users);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Total

7

Last Release

3009d ago

### Community

Maintainers

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

---

Top Contributors

[![xolf](https://avatars.githubusercontent.com/u/8250052?v=4)](https://github.com/xolf "xolf (11 commits)")

---

Tags

databaseiofile reader

### Embed Badge

![Health badge](/badges/xolf-io-db/health.svg)

```
[![Health](https://phpackages.com/badges/xolf-io-db/health.svg)](https://phpackages.com/packages/xolf-io-db)
```

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[doctrine/migrations

PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema and easily deploying changes to it. It is a very easy to use and a powerful tool.

4.8k204.8M440](/packages/doctrine-migrations)[doctrine/data-fixtures

Data Fixtures for all Doctrine Object Managers

2.9k136.1M516](/packages/doctrine-data-fixtures)[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k46.2M405](/packages/robmorgan-phinx)

PHPackages © 2026

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