{"id":14966644,"url":"https://github.com/thtmorais/yii2-dropdown","last_synced_at":"2025-08-01T22:43:01.077Z","repository":{"id":57069239,"uuid":"355758870","full_name":"thtmorais/yii2-dropdown","owner":"thtmorais","description":"Dropdown button - Dynamic change actions for Yii PHP Framework","archived":false,"fork":false,"pushed_at":"2022-09-14T16:09:31.000Z","size":926,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T09:12:52.335Z","etag":null,"topics":["button","dropdown","dropdown-button","droplab","yii2","yii2-extension","yii2-framework","yii2-widgets"],"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/thtmorais.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-08T04:04:54.000Z","updated_at":"2024-05-04T02:04:36.000Z","dependencies_parsed_at":"2022-08-24T10:20:43.151Z","dependency_job_id":null,"html_url":"https://github.com/thtmorais/yii2-dropdown","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/thtmorais/yii2-dropdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-dropdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-dropdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-dropdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-dropdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thtmorais","download_url":"https://codeload.github.com/thtmorais/yii2-dropdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtmorais%2Fyii2-dropdown/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268308972,"owners_count":24230163,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["button","dropdown","dropdown-button","droplab","yii2","yii2-extension","yii2-framework","yii2-widgets"],"created_at":"2024-09-24T13:36:44.613Z","updated_at":"2025-08-01T22:43:01.047Z","avatar_url":"https://github.com/thtmorais.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dropdown button - Dynamic change actions for Yii PHP Framework\n==============================================================\nDropdown button - Dynamic change actions for Yii PHP Framework\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```shell\ncomposer require thtmorais/yii2-dropdown \"*\"\n```\n\nor add\n\n```json\n\"thtmorais/yii2-dropdown\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\n\nUsage\n-----\n\nOnce the extension is installed, simply use it in your code by  :\n\n```php\n\u003c?= Dropdown::widget([\n    'dropdownToggleClass' =\u003e 'btn btn-lg btn-success',\n    'main' =\u003e [\n        'id' =\u003e 'getStartedWithYii',\n        'href' =\u003e 'http://www.yiiframework.com/',\n        'class' =\u003e 'btn btn-lg btn-success',\n        'text' =\u003e 'Get started with Yii'\n    ],\n    'subordinate' =\u003e [\n        [\n            'id' =\u003e 'yiiDocumentation',\n            'href' =\u003e 'http://www.yiiframework.com/doc/',\n            'text' =\u003e 'Yii Documentation'\n        ],\n        [\n            'id' =\u003e 'yiiForum',\n            'href' =\u003e 'http://www.yiiframework.com/forum/',\n            'text' =\u003e 'Yii Forum'\n        ],\n        [\n            'id' =\u003e 'yiiExtensions',\n            'href' =\u003e 'http://www.yiiframework.com/extensions/',\n            'text' =\u003e 'Yii Extensions'\n        ]\n    ],\n    'options' =\u003e [\n        'id' =\u003e 'group-dropdown',\n        'class' =\u003e 'p-1'\n    ]\n]) ?\u003e\n```\n\nExample being executed\n-----\n\n![dropdown](https://raw.github.com/thtmorais/yii2-dropdown/main/images/dropdown.gif?raw=true)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthtmorais%2Fyii2-dropdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthtmorais%2Fyii2-dropdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthtmorais%2Fyii2-dropdown/lists"}