tallforge / datatable
A modern Livewire DataTable package built for Laravel
v1.0.2
2025-11-18 15:50 UTC
Requires
- php: >=8.2
- laravel/framework: ^12.0
- livewire/livewire: ^3.0
Requires (Dev)
- mockery/mockery: ^1.5
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-19 08:03:59 UTC
README
A Modern Livewire DataTable — forged for the TALL stack.
Features
- Zero Dependencies – built purely with TALL stack
- Search, Filters, Reset and Sortable
- Pagination or Load more mode
- Boolean Toggle with Confirmation
- Status Badges with Color Mapping
- Column selector and Alignment
- Row Actions (Buttons or Dropdown)
- Bootstrap & Tailwind Theme Support
Installation
composer require tallforge/datatable
Publish config & views:
php artisan vendor:publish --tag=datatable-config php artisan vendor:publish --tag=datatable-views
Usage
<livewire:tallforge.datatable :model="\App\Models\User::class" />
Configuration Options
| Option | Type | Description |
|---|---|---|
:model |
string | Eloquent model class |
:columns |
array | All available columns |
:selected-columns |
array | Columns currently displayed |
:boolean-columns |
array | Configurable boolean toggle columns |
:status-columns |
array | Map of statuses → badge colors |
:column-align |
array | Per-column text alignment |
:row-actions |
array | List of actions (buttons/dropdown) |
theme |
string | 'bootstrap' or 'tailwind' |
Contributing
We welcome community contributions! Feel free to open issues or PRs at https://github.com/TallForge/datatable
License
Released under the MIT License