This repo contains a Serverside Datatable that can render a filterable and sortable table. It aims to be very lightweight and easy to use. It has support for retrieving data asynchronously, pagination, permission check, role check, laravel policies and recursive searching in relations.
The package is tested on laravel 5,6,7,8 and 9
You can install the package via composer:
composer require singlequote/laravel-datatables
We wanted our code as clean as possible and use the same code more than once.
- Added table triggers (events). Check it here
- Added a new field class called
Link
. It generates an htmla
tag Check it here - We upgraded the label method on the
Button
andLink
class. You can use data columns now for showing server side data. Check it here - Writing your own custom field. Check it here
- You can use filters to add directly to your tableModel. Check it out here
- Column search fields. This makes it easy to search on a single column. Check it out here here
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Quotec, Traktieweg 8c 8304 BA, Emmeloord, Netherlands.
The MIT License (MIT). Please see License File for more information.