PHPackages                             finder/ohdb - 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. finder/ohdb

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

finder/ohdb
===========

Nosql Database - PHP package

010PHP

Since Dec 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jummat/ohdb)[ Packagist](https://packagist.org/packages/finder/ohdb)[ RSS](/packages/finder-ohdb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

ohdb
====

[](#ohdb)

ohdb is a light weight no sql database.It's fully writen with php no framework or dependency is used to develope. It has developed with pure php

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

[](#installation)

initializing

```
use Finder\Ohdb\Ohdb;

$ohdb = new Ohdb;
```

### install

[](#install)

```
$ohdb->config->__install();
```

required for only **very first** time of installation

Basic usage
-----------

[](#basic-usage)

### Inserting

[](#inserting)

create a new table

```
 $cols = [
    'id' => [
        'type' => 'int',
        'length' => 11,
        'primary_key' => true
    ],
    'first_col' => [
        'type' => 'text',
        'length' => 255
    ],
    'second_col' => [
        'type' => 'text',
        'length' => 25
    ]
 ];
```

```
 $ohdb->table->createTable("FruitData", $cols);
```

### Save data

[](#save-data)

```
$ohdb->table->saveData($data)
```

> NB: To store data into a new table call the create table function first and than call save method saveData mehod will automatically detect the table name from creaetTable method

### Edit data into table

[](#edit-data-into-table)

```
$ohdb->edit->editData($id, $tableName, $dataToBeUpdate);
```

### Delete data

[](#delete-data)

```
$ohdb->delete($id, $tableName);
```

> last update 12/07/2022 10:37

**For full documentation**Visit \[\]

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/536632c0b0ef4dc51e5c56c969cae2405a686be0ba8ce5e9bbfaf6f36868d858?d=identicon)[jummat](/maintainers/jummat)

---

Top Contributors

[![jummat](https://avatars.githubusercontent.com/u/107148662?v=4)](https://github.com/jummat "jummat (31 commits)")

---

Tags

composerdatabasenosql-databasepackagephpphpdatabase

### Embed Badge

![Health badge](/badges/finder-ohdb/health.svg)

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

###  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)
