1. Go to this page and download the library: Download mikelmi/mks-smart-table 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/ */
$engine = app(\Mikelmi\SmartTable\SmartTable::class)->make($source);
//optionaly set columns for general search
$engine->setSearchColumns(['name', 'email'])
$engine->apply();
//optionaly apply advanced method for your source, e.g. default sorting
$engine->orderBy('created_at', 'desc');