PHP code example of tkaratug / livewire-smart-table
1. Go to this page and download the library: Download tkaratug/livewire-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/ */
'city' => [
'type' => 'json',
'name' => 'City', // Text for column header
'from' => 'contact', // field that contains json data in a db table
'value' => 'address.city' // nested json value
];