PHP code example of rupadana / filament-custom-tables
1. Go to this page and download the library: Download rupadana/filament-custom-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/ */
rupadana / filament-custom-tables example snippets
TimeAgoColumn::make('created_at')
->dateLabel(seconds: 's', minutes: 'm', hours:'h', days:'d', months: 'M', years: 'Y')
->interval(2000) // default is 1000