1. Go to this page and download the library: Download evelution87/alpine-tables 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/ */
evelution87 / alpine-tables example snippets
use \Evelution\AlpineTables\Traits\HasAlpineTable;
public function alpineModel() {
return User::class;
}
public function alpineColumns() {
return [
[
'key' => 'name',
'label' => 'Name',
],
];
}