Laratables: Ajax support of DataTables in Laravel

Laratables is a package by Gaurav Makhecha to handle server-side AJAX of DataTables (Table plug-in for jQuery) in Laravel +5.5: This package helps with simple requirements of displaying data from eloquent models into data tables with ajax support. Plus, using simple relationships and customizing column values. With this package the client-side code looks similar to any other usage of the Datatables plugin for jQuery: Note role.name in the columns property, which is a relationship column on the User model with the name of the relationship and the field. On the server-side, heres what a data tables controller might look like to provide the data:

Read Full Article at https://laravel-news.com/laratables