1. Go to this page and download the library: Download hunnomad/classdatabase 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/ */
hunnomad / classdatabase example snippets
use HunNomad\Database\Database;
$db = new Database('localhost','example','root','pass','3306','mysql');
$pdo = $db->getConnection(); // native PDO