PHP Classes

PHP JSON DB Library: Manage a database with data stored in JSON files

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 203 This week: 1All time: 8,449 This week: 560Up
Version License PHP version Categories
jsondb 1.0.0MIT/X Consortium ...5PHP 5, Databases, Files and Folders, T...
Description 

Author

This package can manage a database with data stored in JSON files.

It can create database nodes using a trait that saves and load database records in JSON format files.

The main class can perform the regular data manipulation functions to create, update and delete records, as well retrieve records using conditions that can be defined using a fluent interface.

Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 23 packages by
Country: United States United States
Age: 33
All time rank: 806110 in United States United States
Week rank: 51 Up6 in United States United States Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

Example

<?php
require_once 'jsondb.php';
use
Nahid\JsonDb;
$json=new JsonDb('erp');

//to save data in data.json file

$product=[
  [
'id'=>1, 'name'=>'Nokia'],
  [
'id'=>2, 'name'=>'iPhone'],
  [
'id'=>3, 'name'=>'Samsung']
];

echo
$json->node('home:title')->save($product);




Details

jsonx

JSONS is a PHP based class to manipulate json file and its data


  Files folder image Files  
File Role Description
Accessible without login Plain text file data.json Data Auxiliary data
Plain text file DBHandler.php Class Class source
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file index.php Example Example script
Plain text file JsonDb.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:203
This week:1
All time:8,449
This week:560Up
User Comments (1)
how to install
4 years ago (Quynh Pham)
0%Star