PHPackages                             evelution87/alpine-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. evelution87/alpine-tables

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

evelution87/alpine-tables
=========================

Data tables for Laravel using Alpine JS

v0.9.52(1y ago)028MITJavaScriptPHP ^8.0

Since Feb 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/evelution87/alpine-tables)[ Packagist](https://packagist.org/packages/evelution87/alpine-tables)[ Docs](https://github.com/evelution87/alpine-tables)[ RSS](/packages/evelution87-alpine-tables/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (2)Versions (55)Used By (0)

AlpineJS Data Tables for Laravel
================================

[](#alpinejs-data-tables-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/393200c39a02c7631589d48933d3a8da76bf8f05288bcef252f4108ccb7f2ac7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6576656c7574696f6e38372f616c70696e652d7461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/evelution87/alpine-tables)[![Total Downloads](https://camo.githubusercontent.com/f0cc3cbbe9410dbf7d11c03fab0b5823bb1b0954d66cb063d7c05eea927ac1fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6576656c7574696f6e38372f616c70696e652d7461626c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/evelution87/alpine-tables)[![GitHub Actions](https://github.com/evelution87/alpine-tables/actions/workflows/main.yml/badge.svg)](https://github.com/evelution87/alpine-tables/actions/workflows/main.yml/badge.svg)

This package provides a component for Laravel websites to embed data tables using AlpineJS and Tailwind CSS.

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

[](#installation)

You can install the package via composer:

```
composer require evelution87/alpine-tables
```

The required assets must be published by running:

```
php artisan alpinetables:publish
```

Usage
-----

[](#usage)

Alpine Tables can be enabled for a controller by adding a trait to the controller.

```
use \Evelution\AlpineTables\Traits\HasAlpineTable;
```

You must include your own version of two functions:

`alpineModel()` defines the Laravel model the table will be using. Replace 'User' with the model the table will be working with.

```
public function alpineModel() {
    return User::class;
}
```

`alpineColumns()` defines the columns that will appear on the table. (documentation to be added later)

```
public function alpineColumns() {
    return [
        [
            'key'   => 'name',
            'label' => 'Name',
        ],
    ];
}
```

Optional: `alpineSearchColumns()` can be used to define the columns that can be searched. By default it returns a list of all columns defined by `alpineColumns()`, but you might want to customise this.

### Adding to a View

[](#adding-to-a-view)

To insert a table into a view, you can use the `` blade component.

```

```

- The `route` attribute defines the AJAX route for loading table data. This route should be defined in your `routes.php` file. Example:

```
Route::post('ajax/example' [ ExampleController::class, 'alpineRequest'] );
```

- The (optional) `key` attribute is used when saving settings such as filters to a user's local browser storage. Use a different key for each table to allow different filters to be saved. Alternatively you can use the same key to make the filters function across different tables.

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)

- [Craig Eve](https://github.com/evelution87)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~166 days

Total

54

Last Release

613d ago

PHP version history (2 changes)0.5.0PHP ^7.4|^8.0

0.9.11PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/79ab67471d54f2a6c0329d02f641d17f2bea897a219bdf7055ee76bbf3f7f7c4?d=identicon)[evelution87](/maintainers/evelution87)

---

Top Contributors

[![evelution87](https://avatars.githubusercontent.com/u/9331956?v=4)](https://github.com/evelution87 "evelution87 (64 commits)")

---

Tags

evelution87alpine-tables

### Embed Badge

![Health badge](/badges/evelution87-alpine-tables/health.svg)

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

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)

PHPackages © 2026

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