Skip to content
Icon

WARNING You're browsing the documentation for an old version of LARAVEL-DATATABLES. Consider upgrading your project to laravel-datatables 11.0.

Release Notes

Laravel Datatables 7.0

Laravel Datatables 7.0 splits Laravel Datatables 6.x into a main package and plugins packages for more flexibile and pluggable design.

Buttons Plugin

On Laravel Datatables 7.0, service classes and files are extracted into a separate package to reduce its complexity and dependencies on other packages by default. This idea comes up from Issue #832 which actually makes sense since not all users are using the export functionality.

DomPDF

DomPDF dependency is now optional on Laravel Datatables 7.0 and was transferred to Buttons plugin. And the Buttons plugin will now give you a choice to install it or not. This was as a suggest since we now have an option to use snappy as our pdf generator.

Other Changes

Request property

Datatables request property is now set as protected. To access the request instance, use the getter method getRequest().

$dataTable = Datatable::of(User::query());
$request = $dataTable->getRequest();