PHPackages                             xpbl4/yii2-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. [Framework](/categories/framework)
4. /
5. xpbl4/yii2-grid

ActiveYii2-extension[Framework](/categories/framework)

xpbl4/yii2-grid
===============

The GridView override for Yii2 framework.

v1.0.1(2y ago)032BSD-3-ClauseJavaScript

Since Aug 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Xpbl4/yii2-grid)[ Packagist](https://packagist.org/packages/xpbl4/yii2-grid)[ Docs](https://github.com/Xpbl4/yii2-grid)[ RSS](/packages/xpbl4-yii2-grid/feed)WikiDiscussions master Synced 1mo ago

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

Yii2 GridView widget.
=====================

[](#yii2-gridview-widget)

[![Latest Version](https://camo.githubusercontent.com/9401eb507e76872c50cb8ad815700344cbe51a4027632343308a48410584b6b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f5870626c342f796969322d677269642e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/Xpbl4/yii2-grid/releases)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/ce8fd0c70938381f273c325476fcf27e53b213b42fbb5fd766a95f96c998703a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f5870626c342f796969322d677269642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Xpbl4/yii2-grid)

GridView widget extending features of Yii 2 framework widget.

Install
-------

[](#install)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist xpbl4/yii2-grid "*"

```

or add

```
"xpbl4/yii2-grid": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by:

```
use xpbl4\grid\GridView;

echo GridView::widget([
    'dataProvider' => $dataProvider,
    'columns' => [
        'id',
        'name',
        'created_at:datetime',
        // ...
    ],
]);
```

GridView
--------

[](#gridview)

The following functionalities have been added/enhanced:

### Table Filter (Enhanced)

[](#table-filter-enhanced)

- Filter/Header position
    - \[\[FILTER\_POS\_HEADER\]\]: the filters will be replace of each column's header cell.
- Filter error placement
    - \[\[ERROR\_POS\_FILTER\]\]: the errors will be displayed right below each column's filter input.
    - \[\[ERROR\_POS\_SUMMARY\]\]: the errors will be displayed in the filter model {errors} section. See \[\[renderErrors()\]\].
    - \[\[ERROR\_POS\_TOOLTIP\]\]: the errors will be displayed in tooltip of each column's filter input.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Serge Mashkov](https://github.com/Xpbl4)
- [All Contributors](../../contributors)

License
-------

[](#license)

**yii2-grid** is released under the BSD-3-Clause License. Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

988d ago

### Community

Maintainers

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

---

Top Contributors

[![AdminASSE](https://avatars.githubusercontent.com/u/116835194?v=4)](https://github.com/AdminASSE "AdminASSE (8 commits)")[![Xpbl4](https://avatars.githubusercontent.com/u/717048?v=4)](https://github.com/Xpbl4 "Xpbl4 (2 commits)")

---

Tags

gridyii2extensionwidget

### Embed Badge

![Health badge](/badges/xpbl4-yii2-grid/health.svg)

```
[![Health](https://phpackages.com/badges/xpbl4-yii2-grid/health.svg)](https://phpackages.com/packages/xpbl4-yii2-grid)
```

###  Alternatives

[kartik-v/yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.

743.1M27](/packages/kartik-v-yii2-dynagrid)[miloschuman/yii2-highcharts-widget

Highcharts widget for Yii 2 Framework.

1761.5M14](/packages/miloschuman-yii2-highcharts-widget)[thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

1777.7k](/packages/thiagotalma-yii2-fullcalendar)

PHPackages © 2026

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