gorlabs/tailwind-datatables
Laravel package that integrates Yajra DataTables with a Tailwind CSS + Alpine.js UI. Supports server-side processing, search, pagination, sorting, buttons, and rich column customization. Publish config and optional CSS assets for easy theming.
select(*)).tailwind.config.js).x-data carefully).yajra/laravel-datatables-oracle or yajra/laravel-datatables).// resources/js/app.js
import Alpine from 'alpinejs';
window.Alpine = Alpine;
Alpine.start();
Yajra\DataTables\EloquentDataTable for custom queries.<x-datatable>).bg-blue-500 in tailwind.config.js).x-transition).| Component | Compatibility Notes |
|---|---|
| Laravel | 8.x–10.x (test with LTS versions). |
| PHP | 8.0+ (check for strict_types or deprecated functions). |
| Tailwind CSS | Works with v3.x; custom themes require tailwind.config.js adjustments. |
| Alpine.js | v3.x recommended; avoid conflicts with other JS frameworks (e.g., Livewire’s Alpine). |
| Yajra DataTables | Must match package’s supported version (check composer.json). |
| Livewire/Vue | Explicit guides exist, but mixed stacks may need manual JS isolation. |
composer.json/package.json.How can I help you explore Laravel packages today?