{"id":14966551,"url":"https://github.com/yii2-extensions/selectize","last_synced_at":"2026-02-01T18:32:09.665Z","repository":{"id":208281789,"uuid":"720718108","full_name":"yii2-extensions/selectize","owner":"yii2-extensions","description":"Selectize.","archived":false,"fork":false,"pushed_at":"2024-02-28T06:56:56.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T09:46:12.768Z","etag":null,"topics":["selectize","widget","yii2","yii2-extensions"],"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/yii2-extensions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2023-11-19T11:38:00.000Z","updated_at":"2023-11-23T08:46:18.000Z","dependencies_parsed_at":"2023-11-20T18:29:41.028Z","dependency_job_id":"f60130a1-6a02-4c71-bba9-180a5723c3c4","html_url":"https://github.com/yii2-extensions/selectize","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":"0.47058823529411764","last_synced_commit":"d702ee2aed746f13cb93c29818a52fb2aab39460"},"previous_names":["yii2-extensions/selectize"],"tags_count":2,"template":false,"template_full_name":"yii2-extensions/template","purl":"pkg:github/yii2-extensions/selectize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fselectize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fselectize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fselectize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fselectize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yii2-extensions","download_url":"https://codeload.github.com/yii2-extensions/selectize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fselectize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28985818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["selectize","widget","yii2","yii2-extensions"],"created_at":"2024-09-24T13:36:34.852Z","updated_at":"2026-02-01T18:32:09.649Z","avatar_url":"https://github.com/yii2-extensions.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/selectize\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://www.yiiframework.com/image/yii_logo_light.svg\" height=\"100px;\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eSelectize.\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.php.net/releases/8.1/en.php\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/PHP-%3E%3D8.1-787CB5\" alt=\"php-version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/selectize/actions/workflows/build.yml\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/yii2-extensions/selectize/actions/workflows/build.yml/badge.svg\" alt=\"PHPUnit\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/selectize/actions/workflows/compatibility.yml\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/yii2-extensions/selectize/actions/workflows/compatibility.yml/badge.svg\" alt=\"PHPUnit\"\u003e\n    \u003c/a\u003e        \n    \u003ca href=\"https://codecov.io/gh/yii2-extensions/selectize\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/yii2-extensions/selectize/branch/main/graph/badge.svg?token=MF0XUGVLYC\" alt=\"Codecov\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://dashboard.stryker-mutator.io/reports/github.com/yii2-extensions/selectize/main\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyii2-extensions%2Fselectize%2Fmain\" alt=\"Infection\"\u003e\n    \u003c/a\u003e          \n\u003c/p\u003e\n\n## Installation\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```shell\ncomposer require --prefer-dist yii2-extensions/selectize:^0.1\n```\n\nor add\n\n```json\n\"yii2-extensions/selectize\": \"^0.1\"\n```\n\nto the require section of your `composer.json` file.\n\n## Usage\n\n### Dropdown list \n\n```php\nuse Yii2\\Extension\\Selectize\\Selectize;\n\nSelectize::widget(\n    [\n        'attribute' =\u003e 'tags',\n        'items' =\u003e ['foo', 'bar'],\n        'model' =\u003e new SelectizeModel(), // your model\n    ],\n);\n```\n\n### Text input\n\n```php\nuse Yii2\\Extension\\Selectize\\Selectize;\n\nSelectize::widget(\n    [\n        'attribute' =\u003e 'tags',\n        'items' =\u003e ['foo', 'bar'],\n        'model' =\u003e new SelectizeModel(), // your model\n        'type' =\u003e Selectize::TYPE_TEXT, // `Selectize::TYPE_SELECT`, `Selectize::TYPE_TEXT`\n    ],\n);\n```\n\n### Properties of the widget\n\n| Property       | Type          | Description                                                                      | Default                  |\n|----------------|---------------|----------------------------------------------------------------------------------|--------------------------|\n| `attribute`    | `string`      | The attribute associated with this widget.                                       | `null`                   |\n| `clientOptions`| `array`       | The options for the underlying Selectize JS plugin.                              | `[]`                     |\n| `items`        | `array`       | Items to be displayed in the dropdown list.                                      | `[]`                     |\n| `loadUrl`      | `string`      | The URL that will return JSON data.                                              | `null`                   |\n| `model`        | `Model`       | The data model that this widget is associated with.                              | `null`                   |\n| `options`      | `array`       | The HTML attributes for the widget container tag.                                | `[]`                     |\n| `queryParam`   | `string`      | The name of the parameter that will be sent to the server with the search query. | `query`                  |\n| `type`         | `string`      | The type of the widget.                                                          | `Selectize::TYPE_SELECT` |\n\n## Quality code\n\n[![static-analysis](https://github.com/yii2-extensions/selectize/actions/workflows/static.yml/badge.svg)](https://github.com/yii2-extensions/selectize/actions/workflows/static.yml)\n[![phpstan-level](https://img.shields.io/badge/PHPStan%20level-7-blue)](https://github.com/yii2-extensions/selectize/actions/workflows/static.yml)\n[![StyleCI](https://github.styleci.io/repos/720718108/shield?branch=main)](https://github.styleci.io/repos/720718108?branch=main)\n\n## Support versions Yii2\n\n[![Yii20](https://img.shields.io/badge/Yii2%20version-2.0-blue)](https://github.com/yiisoft/yii2/tree/2.0.49.3)\n[![Yii22](https://img.shields.io/badge/Yii2%20version-2.2-blue)](https://github.com/yiisoft/yii2/tree/2.2)\n\n## Testing\n\n[Check the documentation testing](docs/testing.md) to learn about testing.\n\n## Our social networks\n\n[![Twitter](https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter\u0026logoColor=1DA1F2\u0026labelColor=555555?style=flat)](https://twitter.com/Terabytesoftw)\n\n## License\n\nThe MIT License. Please see [License File](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyii2-extensions%2Fselectize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyii2-extensions%2Fselectize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyii2-extensions%2Fselectize/lists"}