Donations Appreciated

You have not lived today until you have done something for someone who can never repay you. - John Bunyan

Click here to lend your support to: Laravel Datatables and make a donation at !

Basic Service Implementation

Basic DataTables Service Implementation Tutorial is available at

IdNameEmailCreated AtUpdated At

Creating a DataTable class.

php artisan datatables:make UsersDataTable

Example Usage:

public function getUsers(UsersDataTable $dataTable)
    return $dataTable->render('');

Example View:


{!! $dataTable->table() !!}

<link rel="stylesheet" href="">
<script src=""></script>
<script src="/vendor/datatables/buttons.server-side.js"></script>
{!! $dataTable->scripts() !!}