Download the PHP package wdmg/yii2-datepicker without Composer
On this page you can find all versions of the php package wdmg/yii2-datepicker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wdmg/yii2-datepicker
More information about wdmg/yii2-datepicker
Files in wdmg/yii2-datepicker
Download wdmg/yii2-datepicker
More information about wdmg/yii2-datepicker
Files in wdmg/yii2-datepicker
Vendor wdmg
Package yii2-datepicker
Short Description Bootstrap3 DatePicker Widget for Yii2
License MIT
Homepage https://github.com/wdmg/yii2-datepicker
Package yii2-datepicker
Short Description Bootstrap3 DatePicker Widget for Yii2
License MIT
Homepage https://github.com/wdmg/yii2-datepicker
Please rate this library. Is it a good library?
Informations about the package yii2-datepicker
Yii2 DatePicker
Bootstrap3 DatePicker Widget for Yii2
Requirements
- PHP 5.6 or higher
- Yii2 v.2.0.33 and newest
- Yii2 Bootstrap
- Bootstrap DatePicker v.1.1.0 and newest.
Installation
To install the widget, run the following command in the console:
$ composer require "wdmg/yii2-datepicker"
Usage
Example of standalone widget:
Example of use with ActiveForm:
Options
DatePicker extends InputWidget so you can use any options available for this widget. In addition, you can use these custom options if necessary:
Name | Type | Default | Description |
---|---|---|---|
options | array | ['class' => 'form-control'] |
Standard options for the input widget. |
pluginOptions | array | ['className' => '.datepicker', 'input' => '.form-control', 'toggle' => '.input-group-btn > button'] |
Plugin DatePicker options passed to js. Read more here (https://github.com/wdmg/bootstrap-datepicker). |
template | string | {input}{addon} | Widget output template. |
addon | string | null |
Addon template addon. Use this option if you will not use the options listed below. |
addonTag | string | span | Addon input tag. |
addonString | string | empty |
Addon content. Usually absent if you are using glypicon or fontawesome. |
addonOptions | array | ['class' => 'glyphicon glyphicon-calendar', 'aria-hidden' => 'true'] |
Options tag addon input widget. |
addonContainerTag | string | span | Addon container tag. |
addonContainerOptions | array | ['class' => 'input-group-btn'] |
Options of the container addon input widget. |
addonButtonTag | string | button | Tag who will display a DatePicker widget for input. |
addonButtonOptions | array | ['class' => 'btn btn-default', 'type' => 'button'] |
Options of tag who will display a DatePicker widget for input. |
Status and version
- v.1.1.0 - Update copyrights and dependencies
- v.1.0.8 - Fixed widget ID and init after Pjax reloading
All versions of yii2-datepicker with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
^2.0.33
yiisoft/yii2-bootstrap Version *
bower-asset/bootstrap-datepicker-plugin Version ^1.1.1
yiisoft/yii2-bootstrap Version *
bower-asset/bootstrap-datepicker-plugin Version ^1.1.1
The package wdmg/yii2-datepicker contains the following files
Loading the files please wait ....