{"id":15937278,"url":"https://github.com/zofe/datagrid","last_synced_at":"2026-04-19T00:05:38.980Z","repository":{"id":22407436,"uuid":"25744745","full_name":"zofe/datagrid","owner":"zofe","description":null,"archived":false,"fork":false,"pushed_at":"2014-10-27T22:44:35.000Z","size":482,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T22:28:48.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Microsoft/ClangSharp","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zofe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-25T20:03:30.000Z","updated_at":"2014-10-28T10:12:05.000Z","dependencies_parsed_at":"2022-07-26T03:00:08.238Z","dependency_job_id":null,"html_url":"https://github.com/zofe/datagrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zofe%2Fdatagrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zofe%2Fdatagrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zofe%2Fdatagrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zofe%2Fdatagrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zofe","download_url":"https://codeload.github.com/zofe/datagrid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241997705,"owners_count":20055154,"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":[],"created_at":"2024-10-07T05:02:02.307Z","updated_at":"2026-04-19T00:05:38.645Z","avatar_url":"https://github.com/zofe.png","language":"PHP","readme":"Datagrid\n============\n\nDataGrid is a simple presenter widget for database queries, models, or any generic Array. \nBy default it produce Bootstrap 3 compatible output. \n\nAt this moment is built on [Deficient](https://github.com/zofe/deficient) (a subset of laravel components including eloquent and blade, plus [burp](https://github.com/zofe/burp) router).\nThe plan is to make it compatible also with laravel, as standard package.\n\nIt can   \n\n- Paginate results\n- Sort results\n- Display results in a HTML Table (defining each column)\n- Define each column, row and cell (sorting links, formatting, etc.)\n- Customize view output including pagination style\n- Export results as CSV / Excel\n- Let you define url-semantic for sort/pagination segments or parameters (thanks to burp)\n\n\n## usage\n```php\n\n    $grid = DataGrid::source(new User);\n    $grid-\u003eadd('id','ID',true)-\u003estyle('width:100px');\n    $grid-\u003eadd('name','Name',true);\n    $grid-\u003epaginate(5);\n\n```\n\n\n## why not starting from laravel?\n\nBecause it can be used stand alone, and in any other framework.  \nIt has really minimal dependencies.\n\n\n## Installation\n\ninstall via composer \n\n    {\n        \"require\": {\n            \"zofe/datagrid\": \"dev-master\"\n        }\n    }\n    \n## Setup\n\nTo configure database, views, you must reference to [Deficient](https://github.com/zofe/deficient)  \nThis is a small how-to \n\n - create minimum folders / configuration files\n - deploy datagrid views\n - deploy a front controller and a sample (optional, but suggested)\n\n```\n  $ php vendor/zofe/deficient/deficient setup:folders\n  $ php vendor/zofe/datagrid/datagrid setup:views\n  $ php vendor/zofe/datagrid/datagrid setup:router\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzofe%2Fdatagrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzofe%2Fdatagrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzofe%2Fdatagrid/lists"}