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

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

yajra/laravel-datatables-html
=============================

Laravel DataTables HTML builder plugin

v13.0.0(2mo ago)2899.6M↓11.3%70[3 PRs](https://github.com/yajra/laravel-datatables-html/pulls)20MITPHPCI passing

Since Jan 27Pushed 2mo ago8 watchersCompare

[ Source](https://github.com/yajra/laravel-datatables-html)[ Packagist](https://packagist.org/packages/yajra/laravel-datatables-html)[ Fund](https://www.paypal.me/yajra)[ GitHub Sponsors](https://github.com/yajra)[ RSS](/packages/yajra-laravel-datatables-html/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (201)Used By (20)

Laravel DataTables Html Plugin
==============================

[](#laravel-datatables-html-plugin)

[![Laravel 12.x](https://camo.githubusercontent.com/99523389690eaafdb995a8fdfcf38089c62b3f160c30483bb7ccc6ca246312ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d6f72616e67652e737667)](http://laravel.com)[![Latest Stable Version](https://camo.githubusercontent.com/a1344296950644457e73c83fd2e511dc348b4e1929d519cf9664247cccd18dee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79616a72612f6c61726176656c2d646174617461626c65732d68746d6c2e737667)](https://packagist.org/packages/yajra/laravel-datatables-html)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/47c5c511b9a335cb9b0526a6e39b8199c1861d58177e599dec869686e93abaed/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f79616a72612f6c61726176656c2d646174617461626c65732d68746d6c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yajra/laravel-datatables-html/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/bfb01a003773794414796f8d67d2ab69e0418af0a82a8445c4b994afc2374b7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616a72612f6c61726176656c2d646174617461626c65732d68746d6c2e737667)](https://packagist.org/packages/yajra/laravel-datatables-html)[![License](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/yajra/laravel-datatables-html)

[![Continuous Integration](https://github.com/yajra/laravel-datatables-html/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/laravel-datatables-html/actions/workflows/continuous-integration.yml)[![Static Analysis](https://github.com/yajra/laravel-datatables-html/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/yajra/laravel-datatables-html/actions/workflows/static-analysis.yml)[![PHP Linting](https://github.com/yajra/laravel-datatables-html/actions/workflows/pint.yml/badge.svg)](https://github.com/yajra/laravel-datatables-html/actions/workflows/pint.yml)

This package is a plugin of [Laravel DataTables](https://github.com/yajra/laravel-datatables) for generating dataTables script using PHP.

Requirements
------------

[](#requirements)

- [Laravel 12.x](https://github.com/laravel/framework)
- [Laravel DataTables](https://github.com/yajra/laravel-datatables)

Documentations
--------------

[](#documentations)

- [Laravel DataTables Documentation](http://yajrabox.com/docs/laravel-datatables)

Laravel Version Compatibility
-----------------------------

[](#laravel-version-compatibility)

LaravelPackage8.x and below4.x9.x9.x10.x10.x11.x11.x12.x12.x13.x13.xQuick Installation
------------------

[](#quick-installation)

`composer require yajra/laravel-datatables-html:^13`

#### Setup scripts with ViteJS

[](#setup-scripts-with-vitejs)

Set the default javascript type to `module` by setting `Builder::useVite()` in the `AppServiceProvider`.

```
namespace App\Providers;

use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
use Yajra\DataTables\Html\Builder;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     */
    public function boot(): void
    {
        Paginator::useBootstrapFive();
        Builder::useVite();
    }
}
```

#### Publish Assets (Optional)

[](#publish-assets-optional)

`$ php artisan vendor:publish --tag=datatables-html`

And that's it! Start building out some awesome DataTables!

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/yajra/laravel-datatables-html/blob/master/.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Arjay Angeles](https://github.com/yajra)
- [All Contributors](https://github.com/yajra/laravel-datatables-html/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/yajra/laravel-datatables-html/blob/master/LICENSE.md) for more information.

###  Health Score

73

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity65

Solid adoption and visibility

Community43

Growing community involvement

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.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 ~17 days

Recently: every ~40 days

Total

198

Last Release

62d ago

Major Versions

v9.4.0 → v10.2.02023-02-20

v10.12.0 → v11.0.02024-03-14

11.x-dev → v12.0.02025-02-26

9.0.x-dev → v12.1.02025-09-22

12.x-dev → v13.0.02026-03-18

PHP version history (6 changes)v1.0.0PHP &gt;=5.6.4

v3.0.0PHP &gt;=7.0

v4.36.2PHP ^7.1.3|^8

v9.0.0PHP ^8.0.2

v10.0.0PHP ^8.1

v11.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c245d1effe6022f9f09b2e8b9cce26743de03a64d612cea4ce9885560d7c0b2?d=identicon)[yajra](/maintainers/yajra)

---

Top Contributors

[![yajra](https://avatars.githubusercontent.com/u/2687997?v=4)](https://github.com/yajra "yajra (801 commits)")[![ElfSundae](https://avatars.githubusercontent.com/u/526008?v=4)](https://github.com/ElfSundae "ElfSundae (14 commits)")[![hpacleb](https://avatars.githubusercontent.com/u/24486552?v=4)](https://github.com/hpacleb "hpacleb (13 commits)")[![lk77](https://avatars.githubusercontent.com/u/9606882?v=4)](https://github.com/lk77 "lk77 (12 commits)")[![ejgandelaberon](https://avatars.githubusercontent.com/u/23096901?v=4)](https://github.com/ejgandelaberon "ejgandelaberon (11 commits)")[![karmendra](https://avatars.githubusercontent.com/u/11293052?v=4)](https://github.com/karmendra "karmendra (6 commits)")[![EJ-OB](https://avatars.githubusercontent.com/u/135292423?v=4)](https://github.com/EJ-OB "EJ-OB (6 commits)")[![frknakk](https://avatars.githubusercontent.com/u/5730574?v=4)](https://github.com/frknakk "frknakk (6 commits)")[![mgralikowski](https://avatars.githubusercontent.com/u/17027876?v=4)](https://github.com/mgralikowski "mgralikowski (5 commits)")[![jaydons](https://avatars.githubusercontent.com/u/44308248?v=4)](https://github.com/jaydons "jaydons (5 commits)")[![jiwom](https://avatars.githubusercontent.com/u/22045242?v=4)](https://github.com/jiwom "jiwom (5 commits)")[![patricktorres27](https://avatars.githubusercontent.com/u/31270504?v=4)](https://github.com/patricktorres27 "patricktorres27 (5 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (4 commits)")[![om3rcitak](https://avatars.githubusercontent.com/u/5197413?v=4)](https://github.com/om3rcitak "om3rcitak (4 commits)")[![jidago](https://avatars.githubusercontent.com/u/56063120?v=4)](https://github.com/jidago "jidago (4 commits)")[![redredimano](https://avatars.githubusercontent.com/u/135292528?v=4)](https://github.com/redredimano "redredimano (3 commits)")[![jsarmientoOB](https://avatars.githubusercontent.com/u/197703267?v=4)](https://github.com/jsarmientoOB "jsarmientoOB (3 commits)")[![renitreni](https://avatars.githubusercontent.com/u/17608701?v=4)](https://github.com/renitreni "renitreni (3 commits)")[![Seb33300](https://avatars.githubusercontent.com/u/915273?v=4)](https://github.com/Seb33300 "Seb33300 (3 commits)")[![wremon-yo](https://avatars.githubusercontent.com/u/174759679?v=4)](https://github.com/wremon-yo "wremon-yo (2 commits)")

---

Tags

datatableshacktoberfesthtmljqueryjquery-datatableslaravellaravel-datatablesphplaravelJShtmljquerydatatablesyajra

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

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

Laravel DataTables Editor plugin for Laravel 5.5+.

1186.1M2](/packages/yajra-laravel-datatables-editor)[yajra/laravel-datatables-buttons

Laravel DataTables Buttons Plugin.

2629.1M54](/packages/yajra-laravel-datatables-buttons)[yajra/laravel-datatables

Laravel DataTables Complete Package.

1035.8M52](/packages/yajra-laravel-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)
