PHPackages                             inivate/datatable-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. inivate/datatable-laravel

ActiveLibrary

inivate/datatable-laravel
=========================

This package is created to handle server-side requests of DataTables jQuery Plugin via AJAX option.

02PHP

Since Jan 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Inivate/datatable-laravel)[ Packagist](https://packagist.org/packages/inivate/datatable-laravel)[ RSS](/packages/inivate-datatable-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Datatables
------------------

[](#laravel-datatables)

[![Latest Stable Version](https://camo.githubusercontent.com/5a8a929aaaa61d62a09bf9c26bd772a42910ae308bf79138b9cc0717ac67664c/68747470733a2f2f706f7365722e707567782e6f72672f696e69766174652f646174617461626c652d6c61726176656c2f762f737461626c652e706e67)](https://packagist.org/packages/inivate/datatable-laravel)[![Total Downloads](https://camo.githubusercontent.com/14875a0d576b9af3593e94295f5a5fa864d5daf3762758bb45a6220483786ede/68747470733a2f2f706f7365722e707567782e6f72672f696e69766174652f646174617461626c652d6c61726176656c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/inivate/datatable-laravel)[![Build Status](https://camo.githubusercontent.com/254912dc83f11fbebc9e2165bbf533870d30df858047b34145079e98231ffed3/68747470733a2f2f7472617669732d63692e6f72672f79616a72612f6c61726176656c2d646174617461626c65732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/yajra/laravel-datatables)[![Latest Unstable Version](https://camo.githubusercontent.com/d4cc630d6aeff368b3b8296812d7e346634bfbdd86bc0ad04e276443d6ac4e59/68747470733a2f2f706f7365722e707567782e6f72672f696e69766174652f646174617461626c652d6c61726176656c2f762f756e737461626c652e737667)](https://packagist.org/packages/inivate/datatable-laravel)[![License](https://camo.githubusercontent.com/6ad66b21fcaf50114be4877465aff3dcaf9a81b1db0d31b01544ca442898ac92/68747470733a2f2f706f7365722e707567782e6f72672f696e69766174652f646174617461626c652d6c61726176656c2f6c6963656e73652e737667)](https://packagist.org/packages/inivate/datatable-laravel)

This package is created to handle server-side requests of DataTables jQuery Plugin via AJAX option. It uses [DataTables](http://datatables.net/) jQuery Plugin

Installation
------------

[](#installation)

Install the package through [Composer](http://getcomposer.org/).

Run the Composer require command from the Terminal:

```
composer require inivate/datatable-laravel

```

Publish required files to project

```
php artisan vendor:publish --provider="Inivate\DatatableLaravel\DatatableServiceProvider"

```

If you're using Laravel 5.5, this is all there is to do.

Should you still be on version 5.4 of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open your `config/app.php` file.

Add a new line to the `providers` array:

```
Inivate\DatatableLaravel\DatatableServiceProvider::class

```

Now you're ready to start using Laravel Datatables in your application.

Overview
--------

[](#overview)

Look at one of the following topics to learn more about Laravel Datatables

- [Usage](#usage)

Usage
-----

[](#usage)

Laravel Datatables gives you the following methods to use:

```
(new DataTable(User::class, UserResource::class))
        ->addColumn('Id', 'id', true, true)
        ->addColumn('First Name', 'first_name', true, true)
        ->addColumn('Last Name', 'last_name', true, true)
        ->addColumn('Created At', 'created_at', true, true)
        ->build();
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/baf4e3305c82b33fe7f9a4ba348b82ed4aaa4af21893745877ed3941dab2588a?d=identicon)[inivate](/maintainers/inivate)

---

Top Contributors

[![Inivate](https://avatars.githubusercontent.com/u/43236047?v=4)](https://github.com/Inivate "Inivate (3 commits)")

### Embed Badge

![Health badge](/badges/inivate-datatable-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/inivate-datatable-laravel/health.svg)](https://phpackages.com/packages/inivate-datatable-laravel)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
