{"id":14983933,"url":"https://github.com/apy/apydatagridbundle","last_synced_at":"2025-05-13T22:03:36.933Z","repository":{"id":1504944,"uuid":"1760606","full_name":"APY/APYDataGridBundle","owner":"APY","description":"Symfony Datagrid Bundle","archived":false,"fork":false,"pushed_at":"2025-02-06T16:45:58.000Z","size":2311,"stargazers_count":495,"open_issues_count":85,"forks_count":341,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-04-29T13:21:28.619Z","etag":null,"topics":["datagrid","grid","php","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/APY.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-05-17T12:28:58.000Z","updated_at":"2025-04-23T22:37:07.000Z","dependencies_parsed_at":"2023-01-13T11:11:26.288Z","dependency_job_id":"f5e78c6a-f215-4acd-9694-cc0cecb88317","html_url":"https://github.com/APY/APYDataGridBundle","commit_stats":{"total_commits":1063,"total_committers":144,"mean_commits":7.381944444444445,"dds":0.7196613358419568,"last_synced_commit":"c9c8a20136eeab2ed59e89de2935ec7e6dda3582"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APY%2FAPYDataGridBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APY%2FAPYDataGridBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APY%2FAPYDataGridBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APY%2FAPYDataGridBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APY","download_url":"https://codeload.github.com/APY/APYDataGridBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036811,"owners_count":22003653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datagrid","grid","php","symfony-bundle"],"created_at":"2024-09-24T14:08:12.040Z","updated_at":"2025-05-13T22:03:36.863Z","avatar_url":"https://github.com/APY.png","language":"PHP","readme":"\n# APYDataGrid Bundle\n\nThis **Symfony Bundle** allows you to create wonderful grid based on data or entities of your projet.\n\n[![Build Status](https://secure.travis-ci.org/APY/APYDataGridBundle.png?branch=master)](http://travis-ci.org/APY/APYDataGridBundle) [![Coverage Status](https://coveralls.io/repos/github/APY/APYDataGridBundle/badge.svg?branch=test-improvement)](https://coveralls.io/github/APY/APYDataGridBundle?branch=test-improvement)\n\n## Features\nThis bundle allow you to create listing with many features that you can expect : \n- Various data sources : supports **Entity** (ORM), **Document** (ODM) and **Vector** (Array) sources\n- Data manipulation : **Sortable** and **Filterable** with many operators \n- Auto-typing columns (Text, Number, Boolean, Array, DateTime, Date, ...)\n- Locale support for columns and data (DateTime, Date and Number columns)\n- Input, Select, checkbox and radio button filters filled with the data of the grid or an array of values\n- Export (CSV, Excel, _PDF_, XML, JSON, HTML, ...)\n- Mass actions, Row actions\n- Supports mapped fields with Entity source\n- Securing the columns, actions and export with security roles\n- Annotations and PHP configuration\n- External filters box\n- Ajax loading\n- Pagination (You can also use Pagerfanta)\n- Grid manager for multi-grid on the same page\n- Groups configuration for ORM and ODM sources\n- Easy templates overriding (Twig)\n- Custom columns and filters creation\n- *and many more*\n\n## Installation, documentation\n\nSee the [summary](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/summary.md).\n\n## Screenshot\n\nFull example with this [CSS style file](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/grid_configuration/working_example.css):\n\n![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_full.png?raw=true)\n\nSimple example with the external filter box in english:\n\n![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_en.png)\n\nSame example in french:\n\n![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_fr.png?raw=true)\n\n## Example of a simple grid with an ORM source\n\n```php\n\u003c?php\nnamespace MyProject\\MyBundle\\Controller;\n\nuse APY\\DataGridBundle\\Grid\\Source\\Entity;\n\nclass DefaultController extends Controller\n{\n\tpublic function myGridAction()\n\t{\n\t\t// Creates a simple grid based on your entity (ORM)\n\t\t$source = new Entity('MyProjectMyBundle:MyEntity');\n\n\t\t// Get a Grid instance\n\t\t$grid = $this-\u003eget('grid');\n\n\t\t// Attach the source to the grid\n\t\t$grid-\u003esetSource($source);\n\n\t\t// Return the response of the grid to the template\n\t\treturn $grid-\u003egetGridResponse('MyProjectMyBundle::myGrid.html.twig');\n\t}\n}\n```\n\n#### Simple configuration of the grid in the entity\n\n```php\n\u003c?php\nnamespace MyProject\\MyBundle\\Entity\n\nuse Doctrine\\ORM\\Mapping as ORM;\nuse APY\\DataGridBundle\\Grid\\Mapping as GRID;\n\n/**\n * @GRID\\Source(columns=\"id, my_datetime\")\n */\nclass MyEntity\n{\n\t/*\n\t * @ORM\\Column(type=\"integer\")\n\t */\n\tprotected $id;\n\n\t/*\n\t * @ORM\\Column(type=\"datetime\")\n\t */\n\tprotected $my_datetime;\n}\n```\n\n#### Display the grid in a twig template\n\n```php\n\u003c?php\n\u003c!-- MyProject\\MyBundle\\Resources\\views\\myGrid.html.twig --\u003e\n\n{{ grid(grid) }}\n```\n\nAnd clear your cache.\n\n## Bundle history\n\nDatagrid for Symfony inspired by Zfdatagrid and Magento Grid.  \nThis bundle was initiated by Stanislav Turza (Sorien).\n\nSee [CHANGELOG](https://github.com/APY/APYDataGridBundle/blob/master/CHANGELOG.md) and [UPGRADE 2.0](https://github.com/APY/APYDataGridBundle/blob/master/UPGRADE-2.0.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapy%2Fapydatagridbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapy%2Fapydatagridbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapy%2Fapydatagridbundle/lists"}