mrserg161/yii2-airdatepicker

This package is abandoned and no longer maintained. No replacement package was suggested.

Air DatePicker widget for Yii2.

Installs: 14 473

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 0

Forks: 2

Open Issues: 1

Type:yii2-extension

v1.1.2 2019-06-18 07:31 UTC

This package is auto-updated.

Last update: 2023-07-18 17:25:34 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Yii2 Air DatePicker

Renders a lightweight Air DatePicker plugin for Yii2.

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist mrserg161/yii2-airdatepicker "*"

or add

"mrserg161/yii2-airdatepicker": "*"

to the require section of your composer.json file.

Demo

You can refer detailed documentation and demos for AirDatePicker or russian docs AirDatePicker RU widgets on usage of the extension.

Usage

Once the extension is installed, simply use it in your code by :

<?php
use mrserg161\airdatepicker\DatePicker;
?>

<?= $form->field($model, 'date')
    ->widget(
        DatePicker::class, [
            'clientOptions' => [
                'autoClose' => true,
                'timepicker' => true,
            ]
        ]
    )?>