PHPackages                             yazan/laravel-datatable - 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. yazan/laravel-datatable

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

yazan/laravel-datatable
=======================

Laravel and Vue packages to create Data Table

v2.0.1(2y ago)378795[1 issues](https://github.com/yazan-alnugnugh/laravel-datatable/issues)MITPHP

Since Sep 16Pushed 2y ago3 watchersCompare

[ Source](https://github.com/yazan-alnugnugh/laravel-datatable)[ Packagist](https://packagist.org/packages/yazan/laravel-datatable)[ RSS](/packages/yazan-laravel-datatable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (11)Used By (0)

Supporting Laravel-vue-datatable
--------------------------------

[](#supporting-laravel-vue-datatable)

- [Become sponsor on Patreon](https://www.patreon.com/yazan_alnughnugh).
- [One-time donation via crypto-currencies](https://github.com/yazan-alnugnugh/laravel-datatable/blob/master/_docs/Donations/crypto/index.md).

Introduction
============

[](#introduction)

 [![laravel-vue-datatable intro image](art/intro-image.png)](art/intro-image.png)

**if you want to create DataTable easy and quickly with crazy features, this package is for you.**

These two Laravel packages are for making easy and quickly DataTable for your work with several features like:

- Searching
- Sorting
- Adding New Relations
- Support for astrotomic/laravel-translatable Package: Seamlessly integrate with the astrotomic/laravel-translatable package for - multilingual support.
- Multiple Selections
- Delete/Delete All
- Restructuring Data
- Permission Access
- Response Notifications for Events
- Pagination

The goal is to create Datatable in easy way using ajax, with interesting features, just with little steps, you can create it

Official Documentation
----------------------

[](#official-documentation)

Documentation for Laravel Vue Datatable can be found here [here](https://packages.tourismcaravan.com/docs/2/data-table)

Demo
----

[](#demo)

[DataTable Demo](https://packages.tourismcaravan.com/data-table)

Quick Example
-------------

[](#quick-example)

### **Start create Grid Class**

[](#start-create-grid-class)

```
// app/DataGrid/PostGrid.php

namespace App\\DataGrid;

use Yazan\DataTable\Mysql\Eloquent\Eloquent;

class PostGrid
{
	use Eloquent;

    public $model = "App\\Models\\Post";

}
```

### **Make an instance from PostGrid class and return the collection**

[](#make-an-instance-from-postgrid-class-and-return-the-collection)

```
// app/Http/Controller/PostController.php

public function all(Request $request)
{
  $posts = (new PostGrid())->render();

  return ['success' => true, 'collection' => $posts];

}
```

### **use the data-table component in your blade**

[](#use-the-data-table-component-in-your-blade)

```
// resources/posts/index.blade.php

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~84 days

Recently: every ~170 days

Total

10

Last Release

939d ago

Major Versions

1.0.8 → v2.0.12023-10-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/174128792?v=4)[yazan-alnughnugh](/maintainers/yazan-alnughnugh)[@yazan-alnughnugh](https://github.com/yazan-alnughnugh)

---

Top Contributors

[![yazan-alnugnugh](https://avatars.githubusercontent.com/u/47463910?v=4)](https://github.com/yazan-alnugnugh "yazan-alnugnugh (32 commits)")

---

Tags

ajaxajax-tabledatagriddatagrid-realtimesearchdatatablesdatatables-ajaxdatatables-serversidegridjavascriptlaravellaravel-datatableslaravel-packagepaginationphprealtime-datatablesearch-tablesortingvue-datatablevuejs

### Embed Badge

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

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

###  Alternatives

[spatie/geocoder

Geocoding addresses to coordinates

8404.8M15](/packages/spatie-geocoder)[magefan/module-community

Magefan core module, required for other Magefan extensions

273.9M28](/packages/magefan-module-community)[acquia/drupal-environment-detector

Provides common methods for detecting the current Acquia environment

105.9M19](/packages/acquia-drupal-environment-detector)[te7a-houdini/laroute

Access Laravels URL/Route helper functions, from JavaScript.

33512.1k](/packages/te7a-houdini-laroute)[php-tui/cassowary

Cassowary constraint solving algorithm implementation

21759.9k1](/packages/php-tui-cassowary)

PHPackages © 2026

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