PHPackages                             unlab/livewire-table-kit - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. unlab/livewire-table-kit

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

unlab/livewire-table-kit
========================

Reusable Livewire table component kit with search, filters, sorting, pagination, actions, and CSV/XLSX/PDF export.

v1.3.6(1w ago)024MITPHPPHP ^8.4

Since Apr 11Pushed 1w agoCompare

[ Source](https://github.com/ujnana/livewire-table-kit)[ Packagist](https://packagist.org/packages/unlab/livewire-table-kit)[ Docs](https://github.com/unlab/livewire-table-kit)[ RSS](/packages/unlab-livewire-table-kit/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (17)Versions (12)Used By (0)

unlab/livewire-table-kit
========================

[](#unlablivewire-table-kit)

Reusable Livewire table component kit with:

- search
- filters
- sorting
- pagination
- row actions
- bulk delete
- CSV / XLSX / PDF export

Documentation
-------------

[](#documentation)

- [Getting Started](docs/getting-started.md)
- [Table Columns](docs/columns.md)
- [Table Filters](docs/filters.md)
- [Table Actions &amp; Bulk Delete](docs/actions.md)
- [Exporting Data (CSV, XLSX, PDF)](docs/export.md)
- [AI Skills &amp; MCP Server](docs/mcp.md)

Install
-------

[](#install)

```
composer require unlab/livewire-table-kit
```

Setup
-----

[](#setup)

### 1. Tailwind Configuration

[](#1-tailwind-configuration)

Add the package path to your Tailwind configuration to ensure styles are compiled.

**For Tailwind v4 (app.css):**

```
@source "../../vendor/unlab/livewire-table-kit/resources/views/**/*.blade.php";
```

**For Tailwind v3 (tailwind.config.js):**

```
content: [
    './vendor/unlab/livewire-table-kit/resources/views/**/*.blade.php',
],
```

Then run: `npm run build`

### 2. Publish views (Optional)

[](#2-publish-views-optional)

```
php artisan vendor:publish --tag=livewire-table-kit-views
```

### 3. Publish config and MCP assets (Optional)

[](#3-publish-config-and-mcp-assets-optional)

```
php artisan vendor:publish --tag=livewire-table-kit-config
php artisan vendor:publish --tag=livewire-table-kit-mcp
php artisan vendor:publish --tag=livewire-table-kit-stubs
php artisan vendor:publish --tag=livewire-table-kit-lang
```

### Install AI skills (Optional)

[](#install-ai-skills-optional)

If you want to use the package MCP server or project-local AI skills:

```
# Install local MCP server config
php artisan livewire-table-kit:install-mcp

# Install skill files for Codex and project-local workflows
php artisan livewire-table-kit:install-skill
```

Generate a table component
--------------------------

[](#generate-a-table-component)

Use the package generator command to scaffold a table component from an Eloquent model:

```
php artisan make:livewire-table App\\Models\\User UsersTable
```

The generator uses schema heuristics to automatically determine:

- Searchable and sortable fields
- Badge columns for statuses and booleans
- Sensible labels

Advanced Usage
--------------

[](#advanced-usage)

### Full Example

[](#full-example)

```
