1. Go to this page and download the library: Download adecoder/eloquent 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/ */
adecoder / eloquent example snippets
use Adecoder\Eloquent\Eloquent;
$query = "SELECT * FROM table_name WHERE id = :B_SEARCH;";
$param = array(':B_SEARCH' => 2);
$select = Eloquent::select(query: $query, param: $param, itself: false)->get();
dd($select);