PHPackages                             sinri/kola-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. sinri/kola-db

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

sinri/kola-db
=============

Simple Information Storage Service

0.1.1(7y ago)011GPL-3.0-or-laterPHP

Since Jun 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sinri/KolaDB)[ Packagist](https://packagist.org/packages/sinri/kola-db)[ RSS](/packages/sinri-kola-db/feed)WikiDiscussions master Synced 3d ago

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

KolaDB
======

[](#koladb)

[![GitHub](https://camo.githubusercontent.com/ffdbf7db9e7333113cb9288f4594c99ffb0ca62899e81d1e79163338c1df65c2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73696e72692f4b6f6c6144422e737667)](https://camo.githubusercontent.com/ffdbf7db9e7333113cb9288f4594c99ffb0ca62899e81d1e79163338c1df65c2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73696e72692f4b6f6c6144422e737667)[![Packagist](https://camo.githubusercontent.com/c2f3ca33cc647cf2204687814bfe522b196a9acf3001c38390a57c70e5a4e44f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696e72692f6b6f6c612d64622e737667)](https://camo.githubusercontent.com/c2f3ca33cc647cf2204687814bfe522b196a9acf3001c38390a57c70e5a4e44f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696e72692f6b6f6c612d64622e737667)

Simple Information Storage Service.

> composer require sinri/kola-db

Structure
---------

[](#structure)

A simple three level object storage structure and simple key-value properties within objects.

```
Cluster::DIR {
    Collection::DIR {
        Object::JSON_FILE {
            field1:value1,
            field2:value2
        }
    }
}

```

Action
------

[](#action)

Action grammar is used to communicate with the server to do certain action.

### Action for Drop

[](#action-for-drop)

```
{
  "action":"drop",
  "cluster":"CLUSTER_NAME",
  "collection":"COLLECTION_NAME",
  "object":"OBJECT_NAME"
}
```

Fields `collection` and `object` are optional.

### Action for Edit

[](#action-for-edit)

```
{
  "action":"edit",
  "cluster":"CLUSTER_NAME",
  "collection":"COLLECTION_NAME",
  "object":"OBJECT_NAME",
  "data":{
    "KEY":"VALUE"
  }
}
```

### Action for Rename

[](#action-for-rename)

```
{
  "action":"rename",
  "cluster":"CLUSTER_NAME",
  "collection":"COLLECTION_NAME",
  "object":"OBJECT_NAME",
  "change":"NEW_NAME"
}
```

Fields `collection` and `object` are optional.

### Action for Query

[](#action-for-query)

```
{
  "action":"query",
  "cluster":"CLUSTER_NAME",
  "collection":"COLLECTION_NAME",
  "query":[
    {
      "method":"EQUAL",
      "field":"FIELD_NAME",
      "reference":"REFERENCE"
    },
    {
      "method":"AND",
      "queries":[
        {
          "method":"EQUAL",
          "field":"FIELD_NAME",
          "reference":"REFERENCE"
        },
        {
          "method":"EQUAL",
          "field":"FIELD_NAME",
          "reference":"REFERENCE"
        }
      ]
    }
  ]
}
```

### Action for List

[](#action-for-list)

```
{
  "action":"list",
  "cluster":"CLUSTER_NAME",
  "collection":"COLLECTION_NAME"
}
```

Field `collection` is optional.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2

Last Release

2887d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5821330?v=4)[Everstray Jun Sinri Edogawa](/maintainers/sinri)[@sinri](https://github.com/sinri)

---

Top Contributors

[![sinri](https://avatars.githubusercontent.com/u/5821330?v=4)](https://github.com/sinri "sinri (16 commits)")

### Embed Badge

![Health badge](/badges/sinri-kola-db/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

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

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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