yajra/laravel-datatables
Complete Laravel DataTables installer (core + plugins) for Laravel 13/PHP 8.3+. Integrates DataTables 2.x with Editor, Buttons, and Select extensions, providing a full server-side DataTables setup for Laravel apps.
DataTablesServiceProvider, ButtonsServiceProvider). Leverages Laravel’s dependency injection and event system for extensibility (e.g., customizing responses via DataTables::of() or DataTables::eloquent() hooks). Aligns with Laravel’s architectural patterns, reducing friction for teams already using the framework.ButtonsServiceProvider is optional), allowing teams to adopt only what they need. Supports customization via configuration publishing (php artisan vendor:publish) and service provider overrides.DataTables::eloquent(User::query())
->addColumn('action', fn($user) => '<button>Edit</button>')
->make(true);
Laravel Version Strategy:
Feature Scope:
Frontend Integration:
Performance:
Maintenance:
Customization:
Testing:
config/app.php (optional for Laravel ≥5.5).handleDatatables hooks.fetch or Axios, with frontend DataTables libraries.serverSide: true).auth, can) via route protection or query scopes.composer require yajra/laravel-datatables:^13.php artisan vendor:publish --provider="Yajra\DataTables\DataTablesServiceProvider".config/app.php (if using Laravel <5.5).Route::get('/users/datatables', [UserController::class, 'datatables'])).DataTables::of() or DataTables::eloquent().serverSide: true and AJAX pointing to Laravel endpoints.composer update yajra/laravel-datatables for minor updates; manually pin major versions.How can I help you explore Laravel packages today?