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

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

ilbronza/datatables
===================

:package\_description

v0.4(5y ago)0306mitPHP

Since Oct 19Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/ilBronza/datatables)[ Packagist](https://packagist.org/packages/ilbronza/datatables)[ Docs](https://github.com/ilbronza/datatables)[ RSS](/packages/ilbronza-datatables/feed)WikiDiscussions master Synced 1w ago

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

Datatables
==========

[](#datatables)

\[!\[Latest Version on Packagist\]\[ico-version\]\]\[link-packagist\] \[!\[Total Downloads\]\[ico-downloads\]\]\[link-downloads\] \[!\[Build Status\]\[ico-travis\]\]\[link-travis\] \[!\[StyleCI\]\[ico-styleci\]\]\[link-styleci\]

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require ilbronza/datatables
```

add this lines to package.json dependencies list

```
"datatables.net-autofill-dt": "^2.3.6",
"datatables.net-buttons-dt": "^1.7.0",
"datatables.net-colreorder-dt": "^1.5.3",
"datatables.net-dt": "^1.10.24",
"datatables.net-fixedcolumns-dt": "^3.3.2",
"datatables.net-fixedheader-dt": "^3.1.8",
"datatables.net-keytable-dt": "^2.6.1",
"datatables.net-responsive-dt": "^2.2.7",
"datatables.net-rowgroup-dt": "^1.1.2",
"datatables.net-rowreorder-dt": "^1.2.7",
"datatables.net-scroller-dt": "^2.0.3",
"datatables.net-searchbuilder-dt": "^1.0.1",
"datatables.net-searchpanes-dt": "^1.2.2",
"datatables.net-select-dt": "^1.3.3",
"jszip": "^3.6.0",
"moment": "^2.29.1",
"webpack-jquery-ui": "^2.0.1"
```

run npm install from terminal

```
npm install
```

copy the file `vendor/ilbronza/datatables/resources/js/ilBronza.datatables.js` to `resources/js/ilBronza.datatables.js`add these line to resources/js/app.js to include the required modules. All other js files are included directly from vendor folder

```
require('./ilBronza.datatables.js');
```

keep in mind that it needs jQuery and jquery-ui, if you didn't required yet add to yout resources/js/app.js file

```
import $ from 'jquery';
window.$ = window.jQuery = $;

require('webpack-jquery-ui');
```

publish the package assets

```
php artisan vendor:publish --force --tag "datatables.assets"
```

compile the file with laravel-mix

```
npm run development
```

Usage
-----

[](#usage)

### Form in table header and submit cell

[](#form-in-table-header-and-submit-cell)

You can populate a form in the header of the table and use a table cell as the submit button.
This feature is useful for quick inline filters or actions. To enable it, use the `DatatableFieldSubmit` field type in your configuration.

create a submit field

```
class DatatableFieldAddUnitloads extends DatatableFieldSubmit
{
    public $function = 'getAddUnitloadsToDeliveryUrl';
}

```

add the field to the table header

```
public function addPostFieldsToTable()
{
	$unitloads = Unitload::gpc()::whereIn('id', request()->unitloads)->get();

	foreach($unitloads as $unitload)
		$this->getTable()->addPostField(
			FormField::createFromArray([
				'label' => $unitload->getName() . ' (' . $unitload->getQuantity() . ')',
				'type' => 'text',
				'disabled' => true,
				'name' => 'unitloads[]',
				'value' => $unitload->getKey(),
			])
		);
}

```

use the created field in fields configuration

```
static function getFieldsGroup() : array
{
    return
    [
        'fields' =>
        [
            'mySelfAddToDelivery' => 'warehouse::deliveries.addUnitloads'
        ]
    ];
}

```

### Add data to headerData

[](#add-data-to-headerdata)

Example for add data to th

```
'name' => [
    'type' => 'flat',
    'headerData' => [
        'reloadTable' => true,
        'merryChristmas' => 'something'
    ]
]

```

Example for fetcher field

```
    'mySelfTimingMessage.quantityWorkstations' => [
        'type' => 'iterators.each',
        'childParameters' => [
            'requiresPlaceholderElement' => true,
            'textParameter' => 'workstation_alias',
            'type' => 'links.fetcher',

            'fetcher' => [
                'urlMethod' => 'getPriceCalculationMessageUrl',
                //target is the place where to take the id from => 'currentField' || 'row'
                'target' => 'currentField',
                'target' => 'row'
            ]
        ],
        'width' => '25px'
    ],
```

DatatableFieldClasses
---------------------

[](#datatablefieldclasses)

```
class DatatableFieldClient extends DatatableFieldSeeName
{
    public ? string $translationPrefix = 'clients::fields';
    public ? string $forcedStandardName = 'client';
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance58

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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 ~1 days

Total

4

Last Release

2035d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/33c65523e8a1cdfe8ed5f5fb8d90101b28eceb8c2ef7acb50a24cf6c42b8e639?d=identicon)[ilBronza](/maintainers/ilBronza)

---

Top Contributors

[![bronza](https://avatars.githubusercontent.com/u/3426331?v=4)](https://github.com/bronza "bronza (137 commits)")[![ilBronza](https://avatars.githubusercontent.com/u/68387610?v=4)](https://github.com/ilBronza "ilBronza (33 commits)")[![DatiSistema](https://avatars.githubusercontent.com/u/224988467?v=4)](https://github.com/DatiSistema "DatiSistema (3 commits)")[![lbortolon](https://avatars.githubusercontent.com/u/109848849?v=4)](https://github.com/lbortolon "lbortolon (1 commits)")

---

Tags

laraveldatatables

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ilbronza-datatables/health.svg)](https://phpackages.com/packages/ilbronza-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)[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)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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