PHPackages                             mdn/mgrid - 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. mdn/mgrid

ActiveLibrary

mdn/mgrid
=========

Grid for PHP 5.3

0.0.1(12y ago)0342[2 issues](https://github.com/medinadato/mgrid/issues)MITPHPPHP &gt;=5.0.0

Since Jul 20Pushed 12y ago5 watchersCompare

[ Source](https://github.com/medinadato/mgrid)[ Packagist](https://packagist.org/packages/mdn/mgrid)[ Docs](http://github.com/medinadato/mgrid)[ RSS](/packages/mdn-mgrid/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Mgrid - Grid solution for PHP 5
===============================

[](#mgrid---grid-solution-for-php-5)

Mgrid version 2.x generates an optimal grid for your application. This version has great improvements in regardless to renders, dependencies, and other features. Please take a look at the [`changelog`](http://mgrid.mdnsolutions.com/changelog).

Thanks, Renato Medina.

Instalation
-----------

[](#instalation)

### 1. The library

[](#1-the-library)

#### 1.1. Composer

[](#11-composer)

The recommended way to install Mgrid is [through composer](http://getcomposer.org). Just create a `composer.json` file into the root of your project and add the following lines:

```
{
    "require": {
        "mdn/mgrid": "dev-master"
    }
}

```

then run the `php composer.phar install` command to install it. At this stage everything should go smooth.

#### 1.2. Download

[](#12-download)

Alternatively, you can download the [`mgrid.zip`](http://mgrid.mdnsolutions.com/install#download-manual) file and extract it.

### 2. The Assets

[](#2-the-assets)

Into the package you can find the assets:

```
YOUR_FOLDER_VENDOR/mdn/lib/Mgrid/templates/default/mgrid-assets

```

Here you have 2 options:

```
1. Just move the folder to the root of your application, making it accessible
   by your url (e.g. http://www.yourdomain.com/mgrid-assets)

2. Just create a symlink.

```

PHP and Frameworks Compatibility
--------------------------------

[](#php-and-frameworks-compatibility)

It can either be used with flat PHP or any Framework out there. Here I've tried to follow the PSR standards. Making this component as portable as possible.

Mgrid uses Twig Template Engine to render its html. If you not familiar with Twig, you can take a look here. Although, it's not necessary to know how Twig works to use Mgrid.

Keen to help? Join the [`github project`](https://github.com/medinadato/mgrid/).

Core Concepts
-------------

[](#core-concepts)

This grid should be able to display data sources from simple PHP arrays. The output is in HTML. Filters, sorting, pagination are also available.

Docs
----

[](#docs)

Go to  for more detailed documentation.

\##About

Available on the component [`website`](http://mgrid.mdnsolutions.com/about).

\##Requirements

- Any flavor of PHP 5.3 or above should do
- Twig template engine 1.\* version

\##Submitting bugs and feature requests

Bugs and feature request are tracked on [GitHub](https://github.com/medinadato/mgrid/issues)

\##Author

Renato Medina -  -
See also the list of [contributors](https://github.com/medinadato/mgrid/contributors)which participated in this project.

\##License

Mgrid is released under the LGPL license. - see the [`LICENSE`](http://mgrid.mdnsolutions.com/license) page for details

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

4656d ago

Major Versions

0.0.1 → 1.0.0.x-dev2013-07-31

1.0.0.x-dev → 2.0.0.x-dev2013-08-08

### Community

Maintainers

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

---

Top Contributors

[![medinadato](https://avatars.githubusercontent.com/u/922809?v=4)](https://github.com/medinadato "medinadato (54 commits)")

---

Tags

grid

### Embed Badge

![Health badge](/badges/mdn-mgrid/health.svg)

```
[![Health](https://phpackages.com/badges/mdn-mgrid/health.svg)](https://phpackages.com/packages/mdn-mgrid)
```

###  Alternatives

[encore/laravel-admin

laravel admin

11.2k3.1M444](/packages/encore-laravel-admin)[desandro/masonry

Cascading grid layout library

16.7k424.4k1](/packages/desandro-masonry)[sendgrid/sendgrid

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

1.5k47.5M164](/packages/sendgrid-sendgrid)[dcat/laravel-admin

dcat admin

4.0k519.0k168](/packages/dcat-laravel-admin)[nicolaskruchten/pivottable

Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.

4.4k202.9k1](/packages/nicolaskruchten-pivottable)[kartik-v/yii2-grid

Yii 2 GridView on steroids. Various enhancements and utilities for the Yii 2.0 GridView widget.

5576.6M179](/packages/kartik-v-yii2-grid)

PHPackages © 2026

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