PHPackages                             magehack/autogrid - 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. magehack/autogrid

ActiveMagento-module[Utility &amp; Helpers](/categories/utility)

magehack/autogrid
=================

The Magehack\_Autogrid can do most of the work for your simple or more complex grids.

1.0.0(9y ago)3137OSL-3.0PHP

Since Feb 13Pushed 9y ago8 watchersCompare

[ Source](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid)[ Packagist](https://packagist.org/packages/magehack/autogrid)[ Docs](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid)[ RSS](/packages/magehack-autogrid/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Magehack\_Autogrid
==================

[](#magehack_autogrid)

Every time a developer has to display information from database tables on Magento admin, she has to write the same code again and again. Magehack\_Autogrid can do most of the work for you, as long as the grid is dealing with a flat table.

Facts
-----

[](#facts)

- version: check the [config.xml](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid.git/blob/master/app/code/community/Magehack/Autogrid/etc/config.xml)
- Magento Connect 1.0 extension key: - none -
- Magento Connect 2.0 extension key: - none -
- [extension on GitHub](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid)
- [direct download link](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid/zipball/master)

Description
-----------

[](#description)

Every time a developer has to display information from database tables on Magento admin, she has to write the same code again and again. Magehack\_Autogrid does most of the work automatically, as long as the grid is dealing with a flat table.

It only requires a potentially very small config file (like, 5 lines of XML excluding the root node), and the rest is taken care of automatically.
This code belongs in a file called *[etc/autogrid.xml](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid/blob/master/src/app/code/community/Magehack/Autogrid/etc/autogrid.xml)* in a modules directory.

```

            catalog/product

```

Additional options can be specified of course, overriding the defaults:

```

            catalog/product
            Autogrid Example Table

                    0

                    magehack_autogrid/table_column_source_yesno

                    The Product Type

                    1

```

Please have a look at the examples in the *[etc/autogrid.xml](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid/blob/master/src/app/code/community/Magehack/Autogrid/etc/autogrid.xml)* file for more examples.

Also, global defaults based on column name can be specified in the usual *[config.xml](https://github.com/MagentoHackathonUK2014/Magehack_Autogrid/blob/master/src/app/code/community/Magehack/Autogrid/etc/config.xml#L61-L95)* files:

```

                    select
                    magehack_autogrid/table_column_source_attributeSetId

                    multiselect
                    magehack_autogrid/table_column_source_websiteId

                    1

```

There are a number of nice features, for example backend model support for flat table entities.

```

                    magehack_autogrid/table_column_backend_updatedAt

```

Extension Stability
-------------------

[](#extension-stability)

The extensions source still shows its roots in a one-night hackathon, but work has continued and it is in a usable and rather maintainable state.
Plenty of work can still be done

Usage
-----

[](#usage)

1. Install the Magehack\_Autogrid module
2. Create the table in your module as usual using a setup script
3. Create the autogrid.xml file in your modules *etc/* directory (syntax is coming soon)

The module will reading the database table and guess default behaviour for grid (and soon also the form.

Compatibility
-------------

[](#compatibility)

- Magento &gt;= 1.7 (probably also earlier)

Installation Instructions
-------------------------

[](#installation-instructions)

If you are using the Magento compiler, disable compilation before the installation, and after the module is installed, you need to run the compiler again.

1. Install the extension from github (its not on Magento Connect).
2. Clear the cache, logout from the admin panel and then login again.

Todo
----

[](#todo)

Here a list of the todo items that I've got in my mind at the moment:

- add per table acl resource support
- add more tests
- refactor column class further, column types should be individual classes based on an abstract column type
- complete "all-tables" grid support (view selected tables, create, edit and delete for table contents)
- remove the example autogrid.xml
- create examples

Support
-------

[](#support)

If you have any issues with this extension, open an issue on GitHub (see URL above)

Contribution
------------

[](#contribution)

Any contributions are highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).

Developers
----------

[](#developers)

- [Sam Ban](https://github.com/ShoobyBan)
- [Vinai Kopp](https://github.com/vinai)
- [Nils Preuss](https://github.com/nhp)
- [Jacques Bodin-Hullin](https://github.com/jacquesbh)
- [Malachy McConnell](https://malachy.mcconnnell)

Licence
-------

[](#licence)

[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

3380d ago

### Community

Maintainers

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

---

Top Contributors

[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (139 commits)")[![jacquesbh](https://avatars.githubusercontent.com/u/858611?v=4)](https://github.com/jacquesbh "jacquesbh (63 commits)")[![malachy-mcconnell](https://avatars.githubusercontent.com/u/6051548?v=4)](https://github.com/malachy-mcconnell "malachy-mcconnell (27 commits)")[![nhp](https://avatars.githubusercontent.com/u/512911?v=4)](https://github.com/nhp "nhp (22 commits)")[![shoobyban](https://avatars.githubusercontent.com/u/2392739?v=4)](https://github.com/shoobyban "shoobyban (21 commits)")

---

Tags

magento-1

### Embed Badge

![Health badge](/badges/magehack-autogrid/health.svg)

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

###  Alternatives

[thunderpush/php-thunderclient

A PHP library for sending messages to Thunderpush server.

169.6k](/packages/thunderpush-php-thunderclient)

PHPackages © 2026

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