PHPackages                             bricknpc/eloquent-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. [Database &amp; ORM](/categories/database)
4. /
5. bricknpc/eloquent-tables

ActiveLibrary[Database &amp; ORM](/categories/database)

bricknpc/eloquent-tables
========================

Eloquent tables for Laravel.

1.2.0(3mo ago)259[8 issues](https://github.com/bricknpc/eloquent-tables/issues)[1 PRs](https://github.com/bricknpc/eloquent-tables/pulls)MITPHPPHP ^8.4|^8.5CI passing

Since Nov 22Pushed 3mo agoCompare

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

READMEChangelog (7)Dependencies (7)Versions (11)Used By (0)

BrickNPC Eloquent Tables
========================

[](#bricknpc-eloquent-tables)

[![BrickNPC Eloquent Table Logo](eloquent-tables.png "Eloquent Tables")](eloquent-tables.png)

[![Static Badge](https://camo.githubusercontent.com/04264dc5ef8ff75667090998d430fc7555a82a9638f33b7750a9d3436b62c055/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f627269636b6e70632d656c6f7175656e742d2d7461626c65732d626c7565)](https://camo.githubusercontent.com/04264dc5ef8ff75667090998d430fc7555a82a9638f33b7750a9d3436b62c055/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f627269636b6e70632d656c6f7175656e742d2d7461626c65732d626c7565)[![GitHub License](https://camo.githubusercontent.com/af8e521549c6a6cfd9c4743b7ee59a4ea4186e4a9c14936b3ced350d64afd42b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f627269636b6e70632f656c6f7175656e742d7461626c6573)](https://camo.githubusercontent.com/af8e521549c6a6cfd9c4743b7ee59a4ea4186e4a9c14936b3ced350d64afd42b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f627269636b6e70632f656c6f7175656e742d7461626c6573)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/d86fc90050e1e0fad5c599807bc4a85847f9acab8592ef3e3faa1b758bf47a0a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f627269636b6e70632f656c6f7175656e742d7461626c65732f63692e796d6c)](https://camo.githubusercontent.com/d86fc90050e1e0fad5c599807bc4a85847f9acab8592ef3e3faa1b758bf47a0a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f627269636b6e70632f656c6f7175656e742d7461626c65732f63692e796d6c)[![Codecov](https://camo.githubusercontent.com/a5121d4cc8cbb01001c43e84ac66601bdf3147c0634fe82db9f44b89a61b33d8/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f627269636b6e70632f656c6f7175656e742d7461626c6573)](https://camo.githubusercontent.com/a5121d4cc8cbb01001c43e84ac66601bdf3147c0634fe82db9f44b89a61b33d8/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f627269636b6e70632f656c6f7175656e742d7461626c6573)[![GitHub commit activity](https://camo.githubusercontent.com/c0e4fa3a045e0386127c25369c6d090db41e422fc94a1073e6e6f2a3cfca1d0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f742f627269636b6e70632f656c6f7175656e742d7461626c6573)](https://camo.githubusercontent.com/c0e4fa3a045e0386127c25369c6d090db41e422fc94a1073e6e6f2a3cfca1d0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f742f627269636b6e70632f656c6f7175656e742d7461626c6573)[![GitHub Release](https://camo.githubusercontent.com/ffa1805dd455967dc819ab92dda251ff0d1c2c4e66b03553444d2078b0768319/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f627269636b6e70632f656c6f7175656e742d7461626c6573)](https://camo.githubusercontent.com/ffa1805dd455967dc819ab92dda251ff0d1c2c4e66b03553444d2078b0768319/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f627269636b6e70632f656c6f7175656e742d7461626c6573)

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

[](#installation)

Install the package using composer.

```
composer require bricknpc/eloquent-tables
```

### Requirements

[](#requirements)

- PHP `^8.4`
- Laravel `^12.0`

This package builds eloquent tables for you with the frontend framework of your choice. You need to install the frontend framework yourself in your Laravel project.

Supported frontend frameworks:

- Bootstrap 5

Roadmap:

- Tailwind 4
- Bulma
- BlazeUI

### Publishing assets

[](#publishing-assets)

You can publish the Eloquent Tables config and view files.

```
# All assets
php artisan vendor:publish --provider="BrickNPC\EloquentTables\Providers\EloquentTablesServiceProvider"

# Only one type of asset
php artisan vendor:publish --provider="BrickNPC\EloquentTables\Providers\EloquentTablesServiceProvider" --tag="views"
php artisan vendor:publish --provider="BrickNPC\EloquentTables\Providers\EloquentTablesServiceProvider" --tag="config"
php artisan vendor:publish --provider="BrickNPC\EloquentTables\Providers\EloquentTablesServiceProvider" --tag="lang"
```

Documentation
-------------

[](#documentation)

See the [documentation](https://bricknpc.github.io/eloquent-tables/docs/intro).

Local development
-----------------

[](#local-development)

### Clone and install the project

[](#clone-and-install-the-project)

This project has a simple docker setup for local development. To start local development, download the project and start the docker container. You need to have Docker installed on your local machine for this.

First, clone the project.

```
git clone https://github.com/bricknpc/eloquent-tables.git
cd eloquent-tables
```

Up the docker container and install the dependencies.

```
docker-compose up -d
docker-compose exec php composer install
```

### Executing commands in the container

[](#executing-commands-in-the-container)

You can execute commands in the container using the exec option.

```
docker-compose exec php
```

If you rather log in to the container and execute commands manually, you can use this:

```
docker-compose exec php bash
```

### Stopping the container

[](#stopping-the-container)

```
docker-compose down
```

### Documentation

[](#documentation-1)

When starting the docker container, the documentation site will automatically be started as well and will be available on . The documentation is built using [Docusaurus](https://docusaurus.io/). When adding new features or making changes, please also update the documentation.

Running tests
-------------

[](#running-tests)

You can run the tests using the following command.

```
docker-compose exec php composer test
```

Code quality tools
------------------

[](#code-quality-tools)

Eloquent Tables uses PHP CS Fixer and PHPStan to ensure a high quality code base. You can run the tools locally using the following commands.

**PHP CS Fixer:**

```
docker-compose exec php composer cs
```

**PHPStan:**

```
docker-compose exec php composer ps
```

Community showcase
------------------

[](#community-showcase)

Are you using Eloquent Tables in your project? Let us know by opening a pull request to add your project to the [community showcase](https://github.com/bricknpc/eloquent-tables/blob/main/docs/src/pages/showcase.js). We love seeing what people are building with Eloquent Tables.

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

[](#contributing)

Pull requests are welcome. When creating a pull request, please include what you changed and why in the description of the pull request. When fixing a bug, please include a test that reproduces the bug and describe how to test the bug manually.

Before creating a pull request, please run the tests and code quality tools locally.

We only accept pull requests when PHPStan reports no errors and the test coverage hasn't gone down.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance61

Regular maintenance activity

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Recently: every ~17 days

Total

7

Last Release

101d ago

PHP version history (2 changes)1.0.0PHP ^8.4

1.2.0PHP ^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0d123e02fb312508d1e095ab1c2155c11d700916f47c29a2ae805f315b7229b?d=identicon)[bricknpc](/maintainers/bricknpc)

---

Top Contributors

[![bricknpc](https://avatars.githubusercontent.com/u/243652318?v=4)](https://github.com/bricknpc "bricknpc (118 commits)")

---

Tags

eloquentlaravellaravel-packagelaravel12tableslaravelpaginationeloquentfilteringtabledatatablesorting

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bricknpc-eloquent-tables/health.svg)

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

###  Alternatives

[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[indexzer0/eloquent-filtering

Powerful eloquent filtering

22425.9k3](/packages/indexzer0-eloquent-filtering)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[omalizadeh/laravel-query-filter

A laravel package for resource filtering via request query string

163.0k](/packages/omalizadeh-laravel-query-filter)

PHPackages © 2026

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