PHPackages                             astek-go/zf2-datagrid - 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. astek-go/zf2-datagrid

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

astek-go/zf2-datagrid
=====================

Zf2Datagrid - A nice helper to build HTML table

2.0.0(9y ago)02151MITPHP

Since Sep 15Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Astek-GO/zf2-datagrid)[ Packagist](https://packagist.org/packages/astek-go/zf2-datagrid)[ Docs](https://github.com/Astek-GO/zf2-datagrid)[ RSS](/packages/astek-go-zf2-datagrid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Zf2Datagrid
===========

[](#zf2datagrid)

[![SensioLabsInsight](https://camo.githubusercontent.com/857f51d3262bce397a5d94124349dfe1afae8d3c00ac4f605e20c804bc8b8c12/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66383565373336342d373433392d343738372d626135342d3136636663353336633431362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/f85e7364-7439-4787-ba54-16cfc536c416)[![Latest Stable Version](https://camo.githubusercontent.com/58f88ca1dec566f13ceec6f3201a7d482452b15c74a6e0fd77d7e5507ab07e5a/68747470733a2f2f706f7365722e707567782e6f72672f617374656b2d676f2f7a66322d64617461677269642f762f737461626c65)](https://packagist.org/packages/astek-go/zf2-datagrid)[![Total Downloads](https://camo.githubusercontent.com/0f9b74a26924d55d1aa871e4974699fc6e1ac57121cf86494b220864ef9c66cf/68747470733a2f2f706f7365722e707567782e6f72672f617374656b2d676f2f7a66322d64617461677269642f646f776e6c6f616473)](https://packagist.org/packages/astek-go/zf2-datagrid)[![Latest Unstable Version](https://camo.githubusercontent.com/38a99536ba146d9ea7e82a98b19ea1d3923fd6ef38528fc21c2e269ef0e96963/68747470733a2f2f706f7365722e707567782e6f72672f617374656b2d676f2f7a66322d64617461677269642f762f756e737461626c65)](https://packagist.org/packages/astek-go/zf2-datagrid)[![License](https://camo.githubusercontent.com/89460a323f5c5f60ef88ee6c72decadc29c0c4c40d29765eb23091f2a0273892/68747470733a2f2f706f7365722e707567782e6f72672f617374656b2d676f2f7a66322d64617461677269642f6c6963656e7365)](https://packagist.org/packages/astek-go/zf2-datagrid)

Permet de créer des datagrid facilement avec Zf2 et Doctrine2.

Fonctionnalités
===============

[](#fonctionnalités)

- Datasources : Doctrine2 (QueryBuilder), PhpArray
- Renderer : TwitterBootstrap2, Excel, Csv
- Decorator &gt; Renderer : Form
- Column : Select/Property/Index
- Decorator &gt; Column : Checkbox/Closure/Date/Icon/Integer/Link/NoValue/Number/Percentage/Route/Tag/Text/Translate
- Pagination : pagination/order by

Bien sûr vous pouvez étendre vous même chacune des fonctionnalités.

Dépendances
===========

[](#dépendances)

- Zend Framework 2 (Form)
- Doctrine 2 (Doctrine2Datasource)

Optionnelles
------------

[](#optionnelles)

- PHPOffice/PHPExcel pour l'export Excel

Installation
============

[](#installation)

Via composer
------------

[](#via-composer)

Placez-vous à la racine de votre répertoire projet et utilisez la commande :

```
php composer.phar require astek-go/zf2-datagrid:dev-master

```

Vous-êtes maintenant ready to go.

Documentation
=============

[](#documentation)

Pour apprendre à utiliser cette librairie vous pouvez consulter la \[documentation\](/docs/01. Introduction.md) !

TODO
====

[](#todo)

- Documentation / Exemples WIP
- Gérer les attributs HTML pour les Column (th/td)
- D'autres renderer out of the box (TwitterBootstrap3, Foundation...)
- D'autres datasource out of the box (Zend\\Db ? autres...)

---

Après ça : \[Introduction\](/docs/01. Introduction.md)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3558d ago

Major Versions

v1.0 → 2.0.02016-08-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/58b7184f147f53f7ce30efcfbd4f3bb3d6d73558103db77876f243892ebd219b?d=identicon)[CaporalDead](/maintainers/CaporalDead)

---

Top Contributors

[![CaporalDead](https://avatars.githubusercontent.com/u/1705597?v=4)](https://github.com/CaporalDead "CaporalDead (58 commits)")

### Embed Badge

![Health badge](/badges/astek-go-zf2-datagrid/health.svg)

```
[![Health](https://phpackages.com/badges/astek-go-zf2-datagrid/health.svg)](https://phpackages.com/packages/astek-go-zf2-datagrid)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[hostnet/entity-tracker-component

Provides an event when a Tracked entity changes

16158.1k4](/packages/hostnet-entity-tracker-component)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)[kibatic/datagrid-bundle

Datagrid for Symfony

1418.3k](/packages/kibatic-datagrid-bundle)

PHPackages © 2026

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