Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Datatable Ssp Laravel Package

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.

View on GitHub
Deep Wiki
Context7
3.11.0

Laravel 13 Compatibility

3.10.0

Change dependencies for Laravel 12

3.9.2
  • should not cache indefinitely if $cache_timeout=0
3.9.1
  • correct the info in response when user request all items (itemsPerPage === -1)
3.9.0
  • can set db_for_search in columns option to specify what column to use when perform search
3.8.0

allow 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

3.7.1
  • return items_per_page data in getData method
  • thus, $ssp->response()->json() also will return this data
3.7.0
  • return current_page and total_pages data in getData method
  • thus, $ssp->response()->json() also will return these data
3.6.0
  • can customize csv filename in response()->csv($filename, $is_include_datetime_in_filename)
  • can set prefix for csv filename
3.5.0
  • improved export to csv with large data
3.4.1
  • ValidationException can be customizable
3.4.0

Fix column name alias handling (multiple AS expression issue)

3.3.0
  • fix lengthMenu in datatablejs (should not include in settings if allowItemsPerPage is null)
3.2.8
3.2.7
3.2.6
  • New feature: Replace with SSP->frontend()->setResponseDataRoute($route_name, $parameters = [], $absolute = true)
  • Remove feature: SSP->frontend()->setResponseDataRouteName($route_name)
3.2.5
  • New feature: Can disable fetch on init (only applied to others framework) on frontend (e.g: $ssp->frontend()->disableFetchOnInit())
3.2.4
  • Refactoring (separate into a few Handler)
  • New feature: Set frontend settings using chaining method (e.g: $ssp->frontend()->setResponseDataRouteName('users.data')->setInitialSorting('created_at', true))
  • New feature: Get frontend settings via only a single method (e.g: $ssp->frontend()->getSettings())
  • Remove feature: SSP->setFrontEndFramework()
  • Remove feature: SSP->getFrontEndColumns()
  • Remove feature: SSP->getFrontEndInitialSorting()
3.1.1

Initial release for version 3

2.2.6

New Feature

  • Custom Query
2.2.4

Amend

  • Use custom function to get last item in array to avoid conflict with older Laravel version.
2.2.3

Debug

  • searchable option
2.2.2

Improvement

  • Can use DB::raw() in groupBy feature
2.2.1

Debug

  • Use raw column name for order by
2.2.0

New feature

  • Can set if the column is searchable (true/false)
2.1.8

Improvement

  • Use subquery if not model
2.1.7

Debug

  • Default blank array for MySQL variables
2.1.6

New feature

  • MySQL variables initiator
2.1.5

Debug

  • alias column name for DB raw
2.1.4

Debug

  • Check if the formatter is instance of Closure
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony
spatie/flare-daemon-runtime