PHP code example of vaibhavpandeyvpz / databoss

1. Go to this page and download the library: Download vaibhavpandeyvpz/databoss 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/ */

    

vaibhavpandeyvpz / databoss example snippets




$db = new Databoss\Connection([
    Databoss\Connection::OPT_DATABASE => 'test',
    Databoss\Connection::OPT_USERNAME => 'root',
    Databoss\Connection::OPT_PASSWORD => '12345678',
]);

/**
 * @desc Simplest it can be
 */
$track = $db->first('music', [
    'artist' => 'Tyga',
    'duration{>}' => 180,
]);