lunarphp/livewire-tables
Livewire tables for Lunar PHP apps. Build sortable, searchable, paginated data tables with reusable components and Lunar-friendly defaults. Integrates cleanly with Laravel and Livewire to speed up admin/listing UIs.
composer require lunarphp/livewire-tables
<?php
namespace App\Http\Livewire\Tables;
use Lunar\LivewireTables\Components\Table;
class OrdersTable extends Table
{
}
To enable searching on the table, set the $searchable property to true.
/**
* Whether this table is searchable.
*
* @var bool
*/
public $searchable = true;
This will enable a search box and add the query parameter whenever the search input is used.
How can I help you explore Laravel packages today?