PHP code example of fitdev-pro / json-db

1. Go to this page and download the library: Download fitdev-pro/json-db 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/ */

    

fitdev-pro / json-db example snippets



use FitdevPro\JsonDb\Database;

$db = new Database($file_system);
$table = $db->getTable('Person');

$person = $table->findFirst(['email'=>'[email protected]']);