PHP code example of huo-zi / laravel-admin-ext-filter
1. Go to this page and download the library: Download huo-zi/laravel-admin-ext-filter 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/ */
huo-zi / laravel-admin-ext-filter example snippets
$filter->row('label_name', function (Filter $filter) {
$filter->equal('col_foo', 'text_column');
$filter->equal('col_bar', 'select_column')->select();
$filter->equal('col_baz', 'time_filter')->date();
});
$filter->equal('col_bar')->select()->config('placeholder', 'select_label');