1. Go to this page and download the library: Download iamjohndev/ijd-orm 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/ */
iamjohndev / ijd-orm example snippets
use iamjohndev\IJDORM;
// Create a database connection
$connection = new mysqli('localhost', 'username', 'password', 'database');
// Create an instance of IJDORM
$dorm = new IJDORM($connection, 'users');
$user = $dorm->find(1);
$users = $dorm->all();
$query = "SELECT * FROM users WHERE age > ?";
$users = $dorm->get($query, [18]);