A collection of reusable widgets for Yii2.
The preferred way to install this extension is through composer.
$ composer require webtoolsnz/yii2-widgets
- \webtoolsnz\widgets\Wysihtml5
- A simple HTML5 WYSIWYG editor.
- \webtoolsnz\widgets\RadioButtonGroup
- A Slick alternative to radio buttons
- \webtoolsnz\widgets\CurrencyInput
- Input fields that supports localized currency codes.
- \webtoolsnz\widgets\DatePicker
- A Html5 Date Input shim, falls back to JUI DatePicker when no native widget available.
- \webtoolsnz\widgets\DateRangePicker
- A DateRangePicker.
- \webtoolsnz\widgets\Tabs
- Extends the yii bootstrap tabs, allows linking to tabs.
- \webtoolsnz\widgets\GooglePlaceSearch
- Easy to use input that implements google places search, also supports rendering a map.
- \webtoolsnz\widgets\SelectOther
- Simple select an option from predefined array or enter in something else.
There are also some useful asset bundles available.
- \webtoolsnz\widgets\FontAwesomeAsset
- \webtoolsnz\widgets\ModernizrAsset
- \webtoolsnz\widgets\GooglePlaceSearchAsset
webtoolsnz/yii2-widgets
has a PHPUnit test suite. To run the tests, run the following command from the project folder.
$ composer test
The MIT License (MIT). Please see LICENSE for more information.