PHPackages                             designbycode/laravel-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. designbycode/laravel-datatables

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

designbycode/laravel-datatables
===============================

This package is the backend implementation for creating datatables for Laravel modal.

v2.0.2(2y ago)040[4 PRs](https://github.com/DesignByCode/laravel-datatables/pulls)MITPHPPHP ^8.2

Since Apr 3Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (15)Versions (20)Used By (0)

Create Laravel data tables
==========================

[](#create-laravel-data-tables)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7042de6cf48013903fb6d137dff7fafa669c37f7943838b726b9271b534a800f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64657369676e6279636f64652f6c61726176656c2d646174617461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/designbycode/laravel-datatables)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5a783675fb220d51913d18353859aa8ce0eddc516943b3cfea4b3bf9f5cb3310/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64657369676e6279636f64652f6c61726176656c2d646174617461626c65732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/designbycode/laravel-datatables/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/2b5031f09dba7bbc99b630ed87e5318b16cbae7a4428cc05be13d07aae82ff34/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64657369676e6279636f64652f6c61726176656c2d646174617461626c65732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/designbycode/laravel-datatables/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/68548bd0c20ad294502a3bbbd69a37fa62f3b50df08451d2a9afd3135341f3a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64657369676e6279636f64652f6c61726176656c2d646174617461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/designbycode/laravel-datatables)

This package is the backend implementation for creating datatables for Laravel modal.

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

[](#installation)

You can install the package via composer:

```
composer require designbycode/laravel-datatables
```

You can publish the config file with:

```
php artisan vendor:publish --tag="datatables-config"
```

Usage
-----

[](#usage)

```
use Designbycode\Datatables\DataTableController;

class CategoriesDataTable extends DataTableController
{
    public function builder(): Builder
    {
        return Category::query();
    }

}
```

Use with InertiaJs
------------------

[](#use-with-inertiajs)

```
use Designbycode\Datatables\DataTableController;
use Inertia\Inertia;
use Inertia\Response;

class CategoriesDataTable extends DataTableController
{
    public function builder(): Builder
    {
        return Category::query();
    }

    public function index(): Response
    {
        return Inertia::render('Categories', )
    }

}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Claude Myburgh](https://github.com/designbycode)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 73.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 ~26 days

Recently: every ~88 days

Total

15

Last Release

779d ago

Major Versions

v1.4.2 → 2.02024-03-15

PHP version history (2 changes)v1.1.0PHP ^8.1

2.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/65820d809cbae9f6fa2f5984f3c584e97b8fad0824590cf23e36cc8d85166cb2?d=identicon)[claudemyburgh](/maintainers/claudemyburgh)

---

Top Contributors

[![claudemyburgh](https://avatars.githubusercontent.com/u/6057076?v=4)](https://github.com/claudemyburgh "claudemyburgh (28 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laraveldesignbycodelaravel-datatables

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/designbycode-laravel-datatables/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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