PHPackages                             edmirkasapi/live-datatable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. edmirkasapi/live-datatable

ActiveLibrary

edmirkasapi/live-datatable
==========================

A simple abstract implementation of a datatable component class for livewire applications.

v1.0.0(today)02↑2900%MITPHPPHP ^8.2

Since Aug 28Pushed todayCompare

[ Source](https://github.com/edmir-kasapi/live-datatable)[ Packagist](https://packagist.org/packages/edmirkasapi/live-datatable)[ RSS](/packages/edmirkasapi-live-datatable/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

Live Datatable
==============

[](#live-datatable)

A simple, extensible abstract datatable component for [Laravel](https://laravel.com/) and [Livewire](https://livewire.laravel.com/) applications.

`edmirkasapi/live-datatable` provides a reusable base component with built-in support for:

- Column configuration and ordering
- Visible/hidden columns
- Searching
- Filtering
- Sorting
- Pagination
- Automatic pagination reset when table state changes
- Automatic navigation to the previous page when the current page becomes empty
- Configurable pagination theme
- Configurable default number of results per page

The package is designed to be extended by your own Livewire datatable components.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 12+
- Livewire 4.4+

Installation
------------

[](#installation)

Install the package using Composer:

```
composer require edmirkasapi/live-datatable
```

Laravel will automatically discover the package service provider.

Basic Usage
-----------

[](#basic-usage)

Create a Livewire component that extends the `LiveDatatable` base class:

```
