/yii2-date-dropdown

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Date Dropdown - Yii2 extension

Simple date dropdown picker.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mmedojevicbg/yii2-date-dropdown "dev-master"

or add

"mmedojevicbg/yii2-date-dropdown": "dev-master"

to the require section of your composer.json file.

Usage

echo DateDropdown::widget(['model' => $model,
                           'attribute' => 'birth_date')