An open API service indexing awesome lists of open source software.

https://github.com/dotblue/nette-calendarpicker

Flexible date (and time) picker for Nette Framework
https://github.com/dotblue/nette-calendarpicker

Last synced: 3 months ago
JSON representation

Flexible date (and time) picker for Nette Framework

Awesome Lists containing this project

README

          

## Flexible date (and time) picker for Nette Framework

#### Requirements

- PHP 5.3+
- [nette/nette](https://github.com/nette/mette) >= 2.1

## Installation

1. Copy source codes from Github or using [Composer](http://getcomposer.org/):
```sh
$ composer require dotblue/nette-calendarpicker@~1.0
```

2. Register as Configurator's extension:
```
extensions:
calendarPicker: DotBlue\Nette\Forms\CalendarPickerExtension
```

And you're good to go :).

## Usage

You can use new method `addCalendarPicker()`:

```php
$form->addCalendarPicker('date_created', 'Date of creation:');
```