1. Go to this page and download the library: Download cybrox/crunchdb 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/ */
cybrox / crunchdb example snippets
// Search for rows with the type `user` **OR** `admin
...->select(['type', '==', 'user'],['type', '==', 'admin'])->...
// Search for rows with the type `user` **AND** the `name` 'cybrox'
...->select(['type', '==', 'user'],['name', '==', 'cybrox', 'and'])->...
// Sort by number descending and then by name descending.
...->sort(['type', SORT_DESC], ['name', SORT_DESC])->...
// Update type and name of a resource.
...->update(['type','admin'],['name','cybrox'])->...