PHPackages                             mhujer/json-simple-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. mhujer/json-simple-db

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

mhujer/json-simple-db
=====================

Work with JSON file like with a simple database

1.1.1(10y ago)2461MITPHPPHP &gt;=5.6

Since Nov 14Pushed 10y ago2 watchersCompare

[ Source](https://github.com/mhujer/json-simple-db)[ Packagist](https://packagist.org/packages/mhujer/json-simple-db)[ Docs](https://github.com/mhujer/json-simple-db)[ RSS](/packages/mhujer-json-simple-db/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

JSON SimpleDB [![Build Status](https://camo.githubusercontent.com/d791bb26fa7bcddd5678eb872d37e396fc26a8117c071acec3d4b77ebc333d5b/68747470733a2f2f7472617669732d63692e6f72672f6d68756a65722f6a736f6e2d73696d706c652d64622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mhujer/json-simple-db)
============================================================================================================================================================================================================================================================================================================

[](#json-simpledb-)

[![Latest Stable Version](https://camo.githubusercontent.com/d1e1a4993dda2318a714b71223b4c4763299d540163447a1c66c21d407690bdb/68747470733a2f2f706f7365722e707567782e6f72672f6d68756a65722f6a736f6e2d73696d706c652d64622f76657273696f6e2e706e67)](https://packagist.org/packages/mhujer/json-simple-db) [![Total Downloads](https://camo.githubusercontent.com/4fbc0d5fb097223b058e7e5b48ab1aa8ccfe53119c76cef30fea9202950b8751/68747470733a2f2f706f7365722e707567782e6f72672f6d68756a65722f6a736f6e2d73696d706c652d64622f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mhujer/json-simple-db) [![License](https://camo.githubusercontent.com/b89cc492b673002839367579b59e83825fb9c891ab4b94c4f4e81f6197fa099f/68747470733a2f2f706f7365722e707567782e6f72672f6d68756a65722f6a736f6e2d73696d706c652d64622f6c6963656e73652e737667)](https://packagist.org/packages/mhujer/json-simple-db) [![Coverage Status](https://camo.githubusercontent.com/21d85a83f8637230d9840653150a232aaea9b58d4d7aa4eb996b39d961a5ec0f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d68756a65722f6a736f6e2d73696d706c652d64622f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/mhujer/json-simple-db?branch=master)

For a project that generates static HTML I needed a data source, so I created this simple library for storing data in JSON. **It is intended only for CLI usage by a single client, not for websites!**

Usage
-----

[](#usage)

1. Install the latest version with `composer require mhujer/json-simple-db`
2. Use it according to the example bellow and check the docblocks

```
