Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/darkterminal/jsonconnection

JSONConnection allows your application to create and manage your data that you include on a .json file
https://github.com/darkterminal/jsonconnection

composer-package connector json json-api json-data package php

Last synced: 3 months ago
JSON representation

JSONConnection allows your application to create and manage your data that you include on a .json file

Awesome Lists containing this project

README

        

# JSON Connection File
[![Latest Stable Version](https://poser.pugx.org/darkterminal/jsonconnection/v/stable)](https://packagist.org/packages/darkterminal/jsonconnection)
[![Total Downloads](https://poser.pugx.org/darkterminal/jsonconnection/downloads)](https://packagist.org/packages/darkterminal/jsonconnection)
[![License](https://poser.pugx.org/darkterminal/jsonconnection/license)](https://packagist.org/packages/darkterminal/jsonconnection)
## Installation
```
composer require darkterminal/jsonconnection
```

## Usage
```php
code(8)
->name('Gatama Yarakh')
->sports('Surfer');
$data = $person1->get();
$db->insert($data);
///////////////////////////////////////////////

$db->update(['Code', 8], ['Name', 'Yarakh Gatama']); // Update data

$db->selectAll(); // get all adata

$db->getLast(); // get last record

$db->find(3); // find record by Integer / String Only

$db->delete( 'Code', 7 ); // Delete data
```