Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/darkterminal/jsonconnection
- Owner: darkterminal
- Created: 2018-05-02T17:20:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-03T13:52:20.000Z (over 6 years ago)
- Last Synced: 2024-05-06T23:22:48.813Z (9 months ago)
- Topics: composer-package, connector, json, json-api, json-data, package, php
- Language: PHP
- Homepage: https://packagist.org/packages/darkterminal/jsonconnection
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```