PHPackages                             tasdildiren/primevue-datatables - 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. tasdildiren/primevue-datatables

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

tasdildiren/primevue-datatables
===============================

Easy Laravel Server-Side implementation of PrimeVue Datatables

v1.0.0(2y ago)010MITPHPPHP &gt;=7.4

Since Jul 10Pushed 2y agoCompare

[ Source](https://github.com/tasdildiren/primevue-datatables)[ Packagist](https://packagist.org/packages/tasdildiren/primevue-datatables)[ Docs](https://github.com/tasdildiren/primevue-datatables)[ RSS](/packages/tasdildiren-primevue-datatables/feed)WikiDiscussions main Synced 1mo ago

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

Laravel + PrimeVue Datatables
=============================

[](#laravel--primevue-datatables)

[![Latest Version on Packagist](https://camo.githubusercontent.com/63a425525753f81a5fc7b6c65bdb11604de679e29aff52bd651a6459c0d6e98d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74617364696c646972656e2f7072696d657675652d646174617461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tasdildiren/primevue-datatables)[![Total Downloads](https://camo.githubusercontent.com/fd1b49ab6abc24f112be8bd4bba5b6d4f2a85501c6e4363e2756786d978aa9f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74617364696c646972656e2f7072696d657675652d646174617461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tasdildiren/primevue-datatables)

This is a simple, clean and fluent serve-side implementation of [PrimeVue Datatables](https://primefaces.org/primevue/showcase/#/datatable) in [Laravel](https://laravel.com/).

[![image](https://user-images.githubusercontent.com/5610289/159969279-155b736d-a1fa-49c8-a34a-cccc775103a4.png)](https://user-images.githubusercontent.com/5610289/159969279-155b736d-a1fa-49c8-a34a-cccc775103a4.png)

Features
--------

[](#features)

- Global Search including searching in relationships up to a depth of 3, e.g `author.user.name`
- Per-Column filtering out of the box
- Column Sorting with direction toggling
- Pagination with a dynamic `no. or records per page` setting
- Fully compatible with PrimeVue Datatable

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

[](#installation)

You can install the package via composer:

```
composer require tasdildiren/primevue-datatables
```

Usage
-----

[](#usage)

### Server Side

[](#server-side)

It is as simple as having this in your `index()` function of your controller:

```
public function index(Request $request): JsonResponse
{
    $list = PrimevueDatatables::of(Book::query())->make();
    return response()->json($list);
}
```

#### Required Query Parameters

[](#required-query-parameters)

The server-side implementation uses two parameters from your laravel request object to perform filtering, sorting and pagination: You have to pass the following parameters as query params from the client:

1. Searchable Columns **(Passed as `searchable_columns`)** - Used to specify the columns that will be used to perform the global datatable search
2. Dt Params **(Passed as `dt_params`)** - This is the main Datatable event object as received from PrimeVue. See [Lazy Datatable](https://primefaces.org/primevue/showcase/#/datatable/lazy) documentation for more details

### Client Side:

[](#client-side)

Go through [PrimeVue's Lazy Datatable](https://primefaces.org/primevue/showcase/#/datatable/lazy) documentation for details on frontend implementation.

Here is an example of your `loadLazyData()` implementation:

```
const loadLazyData = async () => {
    loading.value = true;

    try {
        const res = await axios.post('/api/books',{
            dt_params: lazyParams.value,
            searchable_columns: ['title','author.name','price'],
        });

        records.value = res.data.data;
        totalRecords.value = res.data.total;
        loading.value = false;
    } catch (e) {
        records.value = [];
        totalRecords.value = 0;
        loading.value = false;
    }
};
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Uğur Taşdildiren](https://github.com/tasdildirens)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1038d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/824697ca4c00622c59c32f1b2714bc43dd4411add0daa1a0e0500aab297705c3?d=identicon)[tasdildiren](/maintainers/tasdildiren)

---

Top Contributors

[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (18 commits)")[![lchris44](https://avatars.githubusercontent.com/u/85734871?v=4)](https://github.com/lchris44 "lchris44 (3 commits)")[![tasdildiren](https://avatars.githubusercontent.com/u/5907935?v=4)](https://github.com/tasdildiren "tasdildiren (3 commits)")[![kevinwheeler](https://avatars.githubusercontent.com/u/5334864?v=4)](https://github.com/kevinwheeler "kevinwheeler (1 commits)")[![str4wh4t](https://avatars.githubusercontent.com/u/1651056?v=4)](https://github.com/str4wh4t "str4wh4t (1 commits)")

---

Tags

laraveldatatablesserver-sideprimevue-datatablesprimevuetasdildiren

### Embed Badge

![Health badge](/badges/tasdildiren-primevue-datatables/health.svg)

```
[![Health](https://phpackages.com/badges/tasdildiren-primevue-datatables/health.svg)](https://phpackages.com/packages/tasdildiren-primevue-datatables)
```

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k33.8M339](/packages/yajra-laravel-datatables-oracle)[rappasoft/laravel-livewire-tables

A dynamic table component for Laravel Livewire

2.0k2.7M31](/packages/rappasoft-laravel-livewire-tables)[savannabits/primevue-datatables

Easy Laravel Server-Side implementation of PrimeVue Datatables

337.7k1](/packages/savannabits-primevue-datatables)[bllim/datatables

Server-side handler of DataTables Jquery Plugin for Laravel 4

261413.7k4](/packages/bllim-datatables)[arm092/livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS

2953.8k](/packages/arm092-livewire-datatables)[openskill/datatable

This is a Laravel 5 package for the server and client side of DataTables (http://datatables.net/)

5511.2k1](/packages/openskill-datatable)

PHPackages © 2026

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