PHPackages                             jajo/jsondb - 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. jajo/jsondb

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

jajo/jsondb
===========

A PHP Class that reads JSON file as a database. Use for sample DBs

v3.0.1(4y ago)223168.9k↑49.1%55[2 PRs](https://github.com/donjajo/php-jsondb/pulls)3MITPHPPHP &gt;=7.3

Since Jan 27Pushed 3y ago11 watchersCompare

[ Source](https://github.com/donjajo/php-jsondb)[ Packagist](https://packagist.org/packages/jajo/jsondb)[ RSS](/packages/jajo-jsondb/feed)WikiDiscussions master Synced 1mo ago

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

php-jsondb
----------

[](#php-jsondb)

A PHP Class that reads JSON file as a database. Use for sample DBs.

### Usage

[](#usage)

Install package `composer require jajo/jsondb`

#### Initialize

[](#initialize)

```
