lunarphp/livewire-tables

Livewire Tables

Installs: 4 613

Dependents: 3

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 2

Type:project


README

Installation

composer require lunarphp/livewire-tables

Creating a table

<?php

namespace App\Http\Livewire\Tables;

use Lunar\LivewireTables\Components\Table;

class OrdersTable extends Table
{

}

Features

Searching

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.