syamsoul/laravel-datatable-ssp
Laravel package to run DataTables in true server-side processing (SSP). Simplifies filtering, sorting, searching, and pagination with an API inspired by the original DataTables SSP class. Supports Laravel 9+ (PHP 8+) and integrates cleanly in controllers and views.
Laravel 13 Compatibility
Change dependencies for Laravel 12
db_for_search in columns option to specify what column to use when perform searchallow to cache response()->json()
how to use:
response()->json($cache_timeout, $extended_cache_name);for example
response()->json(120); will cache response()->json() output for 120 seconds
items_per_page data in getData method$ssp->response()->json() also will return this datacurrent_page and total_pages data in getData method$ssp->response()->json() also will return these dataFix column name alias handling (multiple AS expression issue)
SSP->frontend()->setResponseDataRoute($route_name, $parameters = [], $absolute = true)SSP->frontend()->setResponseDataRouteName($route_name)others framework) on frontend (e.g: $ssp->frontend()->disableFetchOnInit())$ssp->frontend()->setResponseDataRouteName('users.data')->setInitialSorting('created_at', true))$ssp->frontend()->getSettings())SSP->setFrontEndFramework()SSP->getFrontEndColumns()SSP->getFrontEndInitialSorting()Initial release for version 3
New Feature
Amend
Debug
searchable optionImprovement
DB::raw() in groupBy featureDebug
New feature
Improvement
Debug
New feature
Debug
Debug
How can I help you explore Laravel packages today?