PHP code example of kozsuper / filament-table-views
1. Go to this page and download the library: Download kozsuper/filament-table-views 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/ */
kozsuper / filament-table-views example snippets
use KozSuper\TableViews\Filament\Concerns\HasTableViews;
class YourResource extends Resource
{
use HasTableViews;
// Your resource code...
}
bash
php artisan vendor:publish --tag=table-views-migrations
bash
php artisan migrate
bash
php artisan vendor:publish --provider="KozSuper\TableViews\TableViewsServiceProvider" --tag="config"