{"id":14966322,"url":"https://github.com/yiisoft/yii2-jui","last_synced_at":"2025-05-14T15:06:16.711Z","repository":{"id":47292039,"uuid":"13261905","full_name":"yiisoft/yii2-jui","owner":"yiisoft","description":"Yii 2 JQuery UI extension.","archived":false,"fork":false,"pushed_at":"2025-02-13T20:54:44.000Z","size":10014,"stargazers_count":129,"open_issues_count":14,"forks_count":113,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-27T17:40:36.662Z","etag":null,"topics":["hacktoberfest","jqueryui","yii","yii2"],"latest_commit_sha":null,"homepage":"http://www.yiiframework.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"tidelift":"packagist/yiisoft/yii2-jui"}},"created_at":"2013-10-02T03:22:31.000Z","updated_at":"2025-04-01T06:29:20.000Z","dependencies_parsed_at":"2024-01-05T06:02:42.031Z","dependency_job_id":"203b822a-1157-4c5c-b5e6-9a2354d1c4df","html_url":"https://github.com/yiisoft/yii2-jui","commit_stats":{"total_commits":3943,"total_committers":153,"mean_commits":25.77124183006536,"dds":0.6223687547552625,"last_synced_commit":"a64ad527013f5033d68593eefa9404436621ccaa"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-jui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-jui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-jui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-jui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-jui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252941325,"owners_count":21828853,"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":["hacktoberfest","jqueryui","yii","yii2"],"created_at":"2024-09-24T13:36:12.951Z","updated_at":"2025-05-14T15:06:16.652Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-jui"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://jqueryui.com/\" target=\"_blank\" rel=\"external\"\u003e\n        \u003cimg src=\"https://brand.jquery.org/resources/jqueryui-mark-dark.gif\" height=\"110px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eJUI Extension for Yii 2\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis is the JQuery UI extension for [Yii framework 2.0](https://www.yiiframework.com). It encapsulates [JQuery UI widgets](https://jqueryui.com/) as Yii widgets,\nand makes using JQuery UI widgets in Yii applications extremely easy.\n\nFor license information check the [LICENSE](LICENSE.md)-file.\n\nDocumentation is at [docs/guide/README.md](docs/guide/README.md).\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-jui/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-jui)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-jui/downloads.png)](https://packagist.org/packages/yiisoft/yii2-jui)\n[![Build Status](https://github.com/yiisoft/yii2-jui/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-jui/actions)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist yiisoft/yii2-jui\n```\n\nor add\n\n```\n\"yiisoft/yii2-jui\": \"~2.0.0\"\n```\n\nto the require section of your `composer.json` file.\n\nUsage\n-----\n\nThe following\nsingle line of code in a view file would render a [JQuery UI DatePicker](https://api.jqueryui.com/datepicker/) widget:\n\n```php\n\u003c?= yii\\jui\\DatePicker::widget(['name' =\u003e 'attributeName']) ?\u003e\n```\n\nConfiguring the Jquery UI options should be done using the clientOptions attribute:\n\n```php\n\u003c?= yii\\jui\\DatePicker::widget(['name' =\u003e 'attributeName', 'clientOptions' =\u003e ['defaultDate' =\u003e '2014-01-01']]) ?\u003e\n```\n\nIf you want to use the JUI widget in an ActiveForm, it can be done like this:\n\n```php\n\u003c?= $form-\u003efield($model,'attributeName')-\u003ewidget(DatePicker::className(),['clientOptions' =\u003e ['defaultDate' =\u003e '2014-01-01']]) ?\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-jui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-jui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-jui/lists"}