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
- Host: GitHub
- URL: https://github.com/dotblue/nette-calendarpicker
- Owner: dotblue
- License: other
- Created: 2014-03-20T13:13:42.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-05-14T14:21:06.000Z (about 10 years ago)
- Last Synced: 2024-04-17T05:45:55.931Z (about 2 years ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 4
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
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:');
```