PHP code example of ptplugins / filament-pivot-table-free

1. Go to this page and download the library: Download ptplugins/filament-pivot-table-free 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/ */

    

ptplugins / filament-pivot-table-free example snippets


// In your Filament Resource page or any Blade view:
$sales = Sale::query()->whereYear('created_at', 2026)->get();