PHPackages                             defstudio/wired-tables - 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. defstudio/wired-tables

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

defstudio/wired-tables
======================

Laravel Livewire Datatables

v0.2.43(1y ago)27.5k—3.7%3[2 PRs](https://github.com/defstudio/wired-tables/pulls)MITPHPPHP ^8.1CI passing

Since Apr 22Pushed 3mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (18)Versions (70)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Laravel Livewire Datatables
===========================

[](#laravel-livewire-datatables)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0e1483443486cc5576ef7a06230df500f18fbce5c779755b263c4bdb41f14951/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656673747564696f2f77697265642d7461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defstudio/wired-tables)[![GitHub Tests Action Status](https://camo.githubusercontent.com/291ff0a930497caa5b68a5f0d78c766f46071490a81fc0f31ba212166353faff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64656673747564696f2f77697265642d7461626c65732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://github.com/defstudio/wired-tables/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4b7cccca19c411b6a873c66d041f9ba5a93dd4fcf73f67ad8bc2009266fad1db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64656673747564696f2f77697265642d7461626c65732f7068702d63732d66697865722e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65)](https://github.com/defstudio/wired-tables/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8bbc6dfd3b8e6a156d6b3d5a1c0885d942bdb1e6f1a4e3e163ea76fad3ce1090/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64656673747564696f2f77697265642d7461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defstudio/wired-tables)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/44a06526f6ad9465fb61fb980aef6763056802c2e11923f0efc717100117db55/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f77697265642d7461626c65732e6a70673f743d31)](https://spatie.be/github-ad-click/wired-tables)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require defstudio/wired-tables
```

You can publish the config file with:

```
php artisan vendor:publish --tag="wired-tables-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="wired-tables-views"
```

Tailwind configuration
----------------------

[](#tailwind-configuration)

In order to keep wired tables tailwind classes, add this to your `tailwind.config.js`:

```
module.exports = {
    content: [
        //...
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './vendor/wire-elements/modal/resources/views/*.blade.php',
        //...
    ],
    theme: {
        extend: {},
    },
    plugins: [],
    prefix: 'tw-',
    corePlugins: {
        preflight: false,
    }
}
```

### Using tailwind along with other frameworks (i.e. bootstrap)

[](#using-tailwind-along-with-other-frameworks-ie-bootstrap)

set `style = tailwind_3_prefixed` config in `configs/wired-tables.php` (see above for info on how to publish config file)

and add these to your `tailwind.config.js`:

```
module.exports = {
    content: [
        //...
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './vendor/wire-elements/modal/resources/views/*.blade.php',
    ],

    //...

    prefix: 'tw-',
    corePlugins: {
        //...
        preflight: false,
    }
}
```

Usage
-----

[](#usage)

```
$wiredTables = new DefStudio\WiredTables();
echo $wiredTables->echoPhrase('Hello, DefStudio!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Fabio Ivona](https://github.com/def-studio)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

TODO DOCS
---------

[](#todo-docs)

### Views can be overridden by publishing them

[](#views-can-be-overridden-by-publishing-them)

```
php artisan vendor:publish --tag="wired-tables-views"
```

### Views can be overridden on a single table also:

[](#views-can-be-overridden-on-a-single-table-also)

```
MyTable extends WiredTable{
    public function mainView(): string
    {
        return 'custom-main-view';
    }
```

the following view methods can be overridden:

- `mainView()`: the main container view for the table
- `tableView()`: the main table view

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance59

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~19 days

Recently: every ~58 days

Total

56

Last Release

439d ago

Major Versions

v0.2.43 → 1.x-dev2025-03-05

PHP version history (2 changes)v0.0.1PHP ^8.1

1.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/db5e0ab5568062368a52c61d67381c1a35be5e5c816968dd3883bc7ba2d46b53?d=identicon)[fabio.ivona](/maintainers/fabio.ivona)

---

Top Contributors

[![fabio-ivona](https://avatars.githubusercontent.com/u/8792274?v=4)](https://github.com/fabio-ivona "fabio-ivona (274 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")[![nicola-posa](https://avatars.githubusercontent.com/u/80521158?v=4)](https://github.com/nicola-posa "nicola-posa (23 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (14 commits)")[![MarioGattolla](https://avatars.githubusercontent.com/u/94918437?v=4)](https://github.com/MarioGattolla "MarioGattolla (13 commits)")[![trippo](https://avatars.githubusercontent.com/u/497169?v=4)](https://github.com/trippo "trippo (1 commits)")

---

Tags

datatableshacktoberfestlaravellivewirelivewire-datatablesphplaraveldefstudiowired-tables

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/defstudio-wired-tables/health.svg)

```
[![Health](https://phpackages.com/badges/defstudio-wired-tables/health.svg)](https://phpackages.com/packages/defstudio-wired-tables)
```

###  Alternatives

[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)[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)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1124.1k](/packages/codebar-ag-laravel-filament-json-field)

PHPackages © 2026

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