pfilsx/data-grid-bundle

Provides a Data Grid tables for your Symfony project.

Installs: 796

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 2

Open Issues: 4

Type:symfony-bundle

5.0.2 2020-09-11 19:28 UTC

README

General: Build Status Latest Stable Version License

Quality: Scrutinizer Code Quality Build Status Coverage Status Code Intelligence Status

Numbers: Total Downloads Monthly Downloads Daily Downloads

Introduction

The bundle provides a Data Grid Tables integration for your Symfony Project. It automatically registers the new DataGridFactory and Twig GridExtension which can be easily as well as highly configured.

Features

  • Display a Data Grid from a Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository
  • Automatic filter(with bundle js included)
  • Automatic Sorting on columns
  • Easy to configure
  • Easy to extend
  • Documented (in Resources/doc)
  • Change of DataGrid presentation with override default twig template or just configure css classes on each column/filter.

Requirement

  • PHP 7.1+
  • Symfony 4+
  • Twig 2+

Installation

Via bash:

$ composer require pfilsx/data-grid-bundle

Via composer.json:

You need to add the following lines in your deps :

{
    "require": {
        "pfilsx/data-grid-bundle": ">=2.0"
    }
}

For non symfony-flex apps dont forget to add bundle:

$bundles = array(
    ...
    new Pfilsx\DataGrid\DataGridBundle(),
);

Documentation

Please, read the docs.

License

This bundle is released under the MIT license.

Contribute

If you'd like to contribute, feel free to propose a pull request! Or just contact me :)