PHPackages                             lakipatel/data-table - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lakipatel/data-table

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lakipatel/data-table
====================

Data Table will allow you to easily create Listing, Searching, Sorting and Download CSV.

1.0.4(7y ago)35.4k4MITPHP

Since Jun 22Pushed 7y ago3 watchersCompare

[ Source](https://github.com/lakipatel/data-table)[ Packagist](https://packagist.org/packages/lakipatel/data-table)[ RSS](/packages/lakipatel-data-table/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

Laravel Data Table
==================

[](#laravel-data-table)

Laravel Data Table will allow you to easily create Listing, Searching, Sorting and Download CSV for Laravel.

Install
=======

[](#install)

```
composer require lakipatel/data-table

```

Add bellow lines in config/app.php under providers

```
Maatwebsite\Excel\ExcelServiceProvider::class,
Lakipatel\DataTable\DataTableServiceProvider::class

```

run this command to publish **php artisan vendor:publish**

CLI - Create Data Table Object
==============================

[](#cli---create-data-table-object)

run this commnad to generate data table **php artisan data-table:create**

Above command will create a file under app/DataTables/ directory.

Change your controller like

```
namespace App\Http\Controllers;

use App\DataTables\UserDataTable;

class UsersController
{

    public function index()
    {
        $dataTableHTML = UserDataTable::toHTML();
        return view('users.index', compact('dataTableHTML'));
    }

}
```

Add bellow line where you want to display data table under resources/views/users/index.blade.php.

```
{!! $dataTableHTML !!}

```

Add bellow lines in your layout file to include assets

```

@stack('scripts')

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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.

###  Release Activity

Cadence

Every ~97 days

Total

5

Last Release

2858d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50941bb4e97b865282bb4a880a4f250fcd3e3e221a024d9a3f8c363b435699b7?d=identicon)[lakipatel](/maintainers/lakipatel)

---

Top Contributors

[![lakipatel](https://avatars.githubusercontent.com/u/2498939?v=4)](https://github.com/lakipatel "lakipatel (14 commits)")[![bigbharatjain](https://avatars.githubusercontent.com/u/26894966?v=4)](https://github.com/bigbharatjain "bigbharatjain (5 commits)")[![laukik-indianic](https://avatars.githubusercontent.com/u/38423561?v=4)](https://github.com/laukik-indianic "laukik-indianic (2 commits)")

---

Tags

laraveldatatabledata tablelaravel data tablepatellakipatellaukikpatellaukik

### Embed Badge

![Health badge](/badges/lakipatel-data-table/health.svg)

```
[![Health](https://phpackages.com/badges/lakipatel-data-table/health.svg)](https://phpackages.com/packages/lakipatel-data-table)
```

###  Alternatives

[bllim/datatables

Server-side handler of DataTables Jquery Plugin for Laravel 4

261413.7k4](/packages/bllim-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)[ronasit/laravel-helpers

Provided helpers function and some helper class.

1475.7k13](/packages/ronasit-laravel-helpers)[mtrdesign/krait

Krait provides an easy way to create Ajax Datatables.

101.9k](/packages/mtrdesign-krait)[tapp/filament-form-builder

User facing form builder using Filament components

131.2k1](/packages/tapp-filament-form-builder)

PHPackages © 2026

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