PHPackages                             adam-boduch/laravel-grid - 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. adam-boduch/laravel-grid

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

adam-boduch/laravel-grid
========================

Laravel grid package

v2.2(5y ago)95.7k↓61.9%5[4 issues](https://github.com/adam-boduch/laravel-grid/issues)MITPHPPHP &gt;=7.2.0CI failing

Since Nov 21Pushed 5y ago2 watchersCompare

[ Source](https://github.com/adam-boduch/laravel-grid)[ Packagist](https://packagist.org/packages/adam-boduch/laravel-grid)[ RSS](/packages/adam-boduch-laravel-grid/feed)WikiDiscussions 2.0 Synced 3w ago

READMEChangelog (5)Dependencies (10)Versions (8)Used By (0)

Laravel Grid
============

[](#laravel-grid)

[![Build Status](https://camo.githubusercontent.com/6b257d38187a53e4572ae9b21d8913061b6858a84e7431b2be2ec4f65812c9f5/68747470733a2f2f7472617669732d63692e6f72672f6164616d2d626f647563682f6c61726176656c2d677269642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/adam-boduch/laravel-grid)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bc85b1ff32940f52d196e97f908d4d1f3cea2d6edc24243f9de2c0c76bc80c26/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164616d2d626f647563682f6c61726176656c2d677269642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adam-boduch/laravel-grid/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/d9039d0b41d22770ba540c5a27e51243e8bda5edf112cbfa5fc34bd83ae0259f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63306466336261392d346331662d343036332d383334372d3862353165636130373966652f6d696e692e706e67)](https://insight.sensiolabs.com/projects/c0df3ba9-4c1f-4063-8347-8b51eca079fe)[![StyleCI](https://camo.githubusercontent.com/05d6411897ebda6ed1518d4e99add10e7691f54ea6485937737537e0a93b4025/68747470733a2f2f7374796c6563692e696f2f7265706f732f36343636303138342f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/64660184)

**Laravel Grid** is a package that helps you display table data. I could not find package that would satisfy my needs so I decided to write one. Now I've been successfully using it in my two projects. I hope you will enjoy it.

Example:

```
namespace App\Http\Controllers;

use Boduch\Grid\Order;
use Boduch\Grid\Source\EloquentSource;

class UsersController extends Controller
{
    public function index()
    {
        $grid = app('grid.builder')
            ->createBuilder()
            ->setDefaultOrder(new Order('id', 'desc'))
            ->addColumn('id', [
                'sortable' => true
            ])
            ->addColumn('name')
            ->addColumn('email')
            ->addColumn('created_at')
            ->setSource(new EloquentSource(new \App\Models\User()));

        return view('users')->with('grid', $grid);
    }

}
```

**Features**

- Pagination
- Filtering
- Sorting
- Highly customizable
- Simple usage
- Different data source (Eloquent model, collection, array)

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

[](#installation)

**Requirements**

- PHP &gt;= 7.0
- Laravel &gt;= 5.2

**Installation steps**

1. run `composer require adam-boduch/laravel-grid`
2. open file `config/app.php`
3. add `Boduch\Grid\GridServiceProvider::class` into `providers` array

Getting started
---------------

[](#getting-started)

To keep your controllers clean, it's highly recommended to keep your grid classes as a separate php file.

Cookbook
--------

[](#cookbook)

### Using twig

[](#using-twig)

```
{{ grid | raw }}
```

#### Laravel Grid and repository pattern

[](#laravel-grid-and-repository-pattern)

@todo

#### Laravel Grid and presentation pattern

[](#laravel-grid-and-presentation-pattern)

@todo

#### Table cell modification

[](#table-cell-modification)

@todo

#### Different column name and filter name

[](#different-column-name-and-filter-name)

@todo

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% 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 ~71 days

Recently: every ~104 days

Total

7

Last Release

1853d ago

PHP version history (2 changes)v2.0PHP &gt;=7.0.0

v2.0.2PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/69fbe8bd23271ab57a0582e4d8f4314d6846221ecf31fcd6bc38e78a801b1150?d=identicon)[adam-boduch](/maintainers/adam-boduch)

---

Top Contributors

[![adam-boduch](https://avatars.githubusercontent.com/u/10835050?v=4)](https://github.com/adam-boduch "adam-boduch (91 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")[![Sekiphp](https://avatars.githubusercontent.com/u/9967016?v=4)](https://github.com/Sekiphp "Sekiphp (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/adam-boduch-laravel-grid/health.svg)

```
[![Health](https://phpackages.com/badges/adam-boduch-laravel-grid/health.svg)](https://phpackages.com/packages/adam-boduch-laravel-grid)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M137](/packages/laravel-cashier)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)

PHPackages © 2026

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