Download the PHP package zfc-datagrid/zfc-datagrid without Composer
On this page you can find all versions of the php package zfc-datagrid/zfc-datagrid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zfc-datagrid/zfc-datagrid
More information about zfc-datagrid/zfc-datagrid
Files in zfc-datagrid/zfc-datagrid
Package zfc-datagrid
Short Description Laminas Module that provides a datagrid for different datasources and output formats
License MIT
Informations about the package zfc-datagrid
Datagrid/Datatable module for Laminas Framework (formerly Zend Framework)
A datagrid for Laminas where the data input and output can be whatever you want...:-)
Over 400 tests and 1000 assertions testing the stability currently!
If you need help, please use following ressources
If you want to help out on this project:
- seek through the issues
- documentation
- ...any other help
Features
- Datasources: Doctrine2 (QueryBuilder + Collections), Laminas\Db, PhpArray, ... (others possible)
- Output types: jqGrid, Bootstrap table, PDF, Excel, CSV, console, ... (others possible)
- Bootstrap table with Daterange Filter need to load manually js and css
- different column types
- custom formatting, type based formatting (string, date, number, array...)
- column/row styling for all or based on value comparison
- column filtering and sorting
- external data can be included to the dataset (like gravator or any other)
- pagination
- custom toolbar / view
- ...
Installation
Install it with composer
NOTE: with 1.x we dropped support for other installation technics. Especially the ZF2 autoloading was dropped. You just need to switch to composer installation, which will make your life easier, since it comes with all needed features
Add ZfcDatagrid
to your config/application.config.php
Finally create the folder: data/ZfcDatagrid
You can continue
Test if it works
NOTE: This needs the additional module
ZfcDatagridExamples
https://github.com/ThaDafinser/ZfcDatagridExamplesBrowser
Attention! Only PhpArray works out of the box! For Laminas\Db\Sql\Select and Doctrine2 you need to install DoctrineORMModule (Doctrin2 creates the database for Laminas\Db\Sql\Select)
- PhpArray http://YOUR-PROJECT/zfcDatagrid/person/bootstrap
- Doctrine2 http://YOUR-PROJECT/zfcDatagrid/personDoctrine2/bootstrap
- Laminas\Db\Sql\Select http://YOUR-PROJECT/zfcDatagrid/personLaminas/bootstrap
Console
If you just type php index.php
a help for all commands will be shown
Continue with your own datagrid
Please read Documentation
You can also use the zfc-data-grid-plugin to create columns with an array configuration, instead of objects!
Screenshots
All versions of zfc-datagrid with dependencies
laminas/laminas-mvc Version ^3.0
laminas/laminas-session Version ^2.7.4
laminas/laminas-view Version ^2.12
laminas/laminas-http Version ^2.8
laminas/laminas-paginator Version ^2.5
laminas/laminas-cache Version ^2.5
laminas/laminas-servicemanager Version ^3.0
doctrine/doctrine-laminas-hydrator Version ^2.0