{"id":15295778,"url":"https://github.com/simialbi/yii2-widget-datetimepicker","last_synced_at":"2025-06-13T01:32:48.479Z","repository":{"id":57051106,"uuid":"105762934","full_name":"simialbi/yii2-widget-datetimepicker","owner":"simialbi","description":"Datepicker widget for yii2 framework","archived":false,"fork":false,"pushed_at":"2022-09-22T12:45:05.000Z","size":55,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T13:08:09.384Z","etag":null,"topics":["bootstrap3","bootstrap4","datepicker","datetimepicker","yii2","yii2-widgets"],"latest_commit_sha":null,"homepage":null,"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/simialbi.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":"2017-10-04T11:58:18.000Z","updated_at":"2023-03-05T13:19:50.000Z","dependencies_parsed_at":"2022-08-24T03:40:51.175Z","dependency_job_id":null,"html_url":"https://github.com/simialbi/yii2-widget-datetimepicker","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/simialbi/yii2-widget-datetimepicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simialbi%2Fyii2-widget-datetimepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simialbi%2Fyii2-widget-datetimepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simialbi%2Fyii2-widget-datetimepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simialbi%2Fyii2-widget-datetimepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simialbi","download_url":"https://codeload.github.com/simialbi/yii2-widget-datetimepicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simialbi%2Fyii2-widget-datetimepicker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259561862,"owners_count":22876898,"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":["bootstrap3","bootstrap4","datepicker","datetimepicker","yii2","yii2-widgets"],"created_at":"2024-09-30T18:08:10.212Z","updated_at":"2025-06-13T01:32:48.453Z","avatar_url":"https://github.com/simialbi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yii2-widget-datetimepicker\nThis extension provides a `date`, `time` or `datetime` picker widget for yii2 framework in **Bootstrap 4** style. It's based \non [Tempus Dominus](https://tempusdominus.github.io/bootstrap-4/).\n \n## Resources\n * [yii2](https://github.com/yiisoft/yii2) framework\n * [Tempus Dominus](https://tempusdominus.github.io/bootstrap-4/)\n \n## Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\n$ php composer.phar require --prefer-dist simialbi/yii2-widget-datetimepicker\n```\n\nor add \n\n```\n\"simialbi/yii2-widget-datetimepicker\": \"~2.0\"\n```\n\nto the ```require``` section of your `composer.json`\n\n## Example Usage\n\nTo include datepicker instance in one of your pages, call the widget like this:\n```php\n\u003c?php\n/* @var $this yii\\web\\View */\n/* @var $model yii\\base\\Model */\n\nuse yii\\widgets\\ActiveForm;\nuse simialbi\\yii2\\date\\Datetimepicker;\n\n$this-\u003etitle = 'myForm';\n$this-\u003eparams['breadcrumbs'][] = $this-\u003etitle;\n\n?\u003e\n\u003cdiv class=\"my-form\"\u003e\n\t\u003c?php $form = ActiveForm::begin(['id' =\u003e 'my-form']); ?\u003e\n\t\t\u003c?= $form-\u003efield($model, 'name')-\u003etextInput(['autofocus' =\u003e true]) ?\u003e\n\t\t\u003c?= $form-\u003efield($model, 'birthday')-\u003ewidget(Datetimepicker::class, [\n\t\t\t\t'format' =\u003e 'mm/dd/yyyy',\n\t\t\t\t'type'   =\u003e Datetimepicker::TYPE_COMPONENT_APPEND\n\t\t\t]) ?\u003e\n\t\t\u003c?= $form-\u003efield($model, 'email') ?\u003e\n\t\u003c?php ActiveForm::end(); ?\u003e\n\u003c/div\u003e\n```\n\n## License\n\n**yii2-widget-datetimepicker** is released under MIT license. See bundled [LICENSE](LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimialbi%2Fyii2-widget-datetimepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimialbi%2Fyii2-widget-datetimepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimialbi%2Fyii2-widget-datetimepicker/lists"}