PHP code example of addshore / jsonstorage-net

1. Go to this page and download the library: Download addshore/jsonstorage-net library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

addshore / jsonstorage-net example snippets




use Addshore\JsonStorageNet\JsonStorageNetClient;

tore->create(['foo' => 'bar']);
var_dump($id);

// GET
var_dump($store->get($id));

// PUT
$store->put($id, ['foo' => 'baz']);
var_dump($store->get($id));

// DELETE
$store->delete($id);



use Addshore\JsonStorageNet\JsonStorageNetClient;

9a-gg6d19ty9dbi");
$id = "e4cbb4df-ee30-4e31-97a4-7e99180chhaa/b8cb258e-9d22-8959-a3e3-91a28edce82f";

// GET
var_dump($store->get($id));

// PUT
$store->put($id, ['foo' => 'baz']);
var_dump($store->get($id));