PHP code example of wotz / filament-table-filter-presets
1. Go to this page and download the library: Download wotz/filament-table-filter-presets 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/ */
wotz / filament-table-filter-presets example snippets
return [
'administrator_model' => User::class,
];
bash
php artisan vendor:publish --tag="filament-table-filter-presets-migrations"
php artisan migrate