{"id":20302970,"url":"https://github.com/prawee/yii2-grid","last_synced_at":"2025-04-11T13:44:18.976Z","repository":{"id":18754591,"uuid":"21966894","full_name":"prawee/yii2-grid","owner":"prawee","description":"Extends grid classes for Yii2 and Bootstrap 4","archived":false,"fork":false,"pushed_at":"2020-08-16T13:20:39.000Z","size":572,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T10:02:55.276Z","etag":null,"topics":["column","gridview","image","media","php","yii2","yii2-gridview"],"latest_commit_sha":null,"homepage":"http://www.prawee.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prawee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-18T03:49:12.000Z","updated_at":"2020-08-16T13:20:42.000Z","dependencies_parsed_at":"2022-08-30T09:11:46.298Z","dependency_job_id":null,"html_url":"https://github.com/prawee/yii2-grid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fyii2-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fyii2-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fyii2-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fyii2-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prawee","download_url":"https://codeload.github.com/prawee/yii2-grid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248410886,"owners_count":21098790,"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":["column","gridview","image","media","php","yii2","yii2-gridview"],"created_at":"2024-11-14T16:34:58.226Z","updated_at":"2025-04-11T13:44:18.935Z","avatar_url":"https://github.com/prawee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extends grid classes for Yii2 and Bootstrap 4\n\n## Contains\n\n- ActionAuthColumn\n- ActionChildColumn\n- ActionColumn\n- ActionRuleColumn\n- ImageColumn\n- MediaColumn\n\n## Installation\n\non your terminal run this command\n\n```php\nphp composer.phar require prawee/yii2-grid \"dev-master\"\n```\n\nor add to composer.json on require path.\n\n```php\n\"prawee/yii2-grid\": \"dev-master\"\n```\n\n## Usage\n\n### ActionColumn\n\non your grid\n\n```php\n....\n[\n    'class'=\u003e'prawee\\grid\\ActionColumn',\n],\n.....\n```\n\n#### ImageColumn\n\non your grid\n\n```php\n....\n[\n    'class'=\u003e'prawee\\grid\\ImageColumn',\n    'attribute'=\u003e'image',\n    'options'=\u003e[\n        'width'=\u003e'40px',\n    ],\n],\n....\n```\n\n#### ActionChildColumn\n\non your grid\n\n```php\n...\n[\n    'class'=\u003e'prawee\\grid\\ActionChildColumn',\n],\n...\n```\n\nor it have child that's support multi param\n\n```php\n...\n[\n    'class'=\u003e'prawee\\grid\\ActionChildColumn',\n    'params'=\u003e[\n        'ref'=\u003eYii::$app-\u003egetRequest()-\u003eget('id'),\n        'station'=\u003e2,\n    ],\n],\n...\n```\n\n#### MediaColumn\n\non your grid\n\n```php\n....\n[\n    'class'=\u003e'prawee\\grid\\MediaColumn',\n    'attribute'=\u003e'name',\n    'format'=\u003e'image', #image,video\n    'options'=\u003e[\n        'width'=\u003e'40px',\n    ],\n],\n....\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprawee%2Fyii2-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprawee%2Fyii2-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprawee%2Fyii2-grid/lists"}