Extension Library for Yiistrap

Yiiwheels is the extension library for Yiistrap.

It differs from its ancestor YiiBooster, that it requires Yiistrap to work. Chris and I thought that this way would be easier to maintain, scale: leave bootstrap specific development to one library, where the other will focus on widgets creation.

Yiiwheels also encapsulates each widget on its own space, so its assets are published only if required. This way, you wont suffer delays because of publishing.



If you don't wish to have extra requirements, at 2amigOS! we have created one with a totally different approach (using namespaces and Yii2 look alike): 2amigOS! Custom YiiWheels



  • Update to version v.1.0.3 (more than 15 new widgets) 11/08/2013
  • Created new stable version v.1.0.1 19/07/2013
  • Fixed minor bugs 18/07/2013
  • Published 17/07/2013

web development has never been so fun

Total 20 comments

#17681 report it
Don Felipe at 2014/07/14 08:31am

You may find this thread helpful. It's about getting the customControlGroup and customActiveControlGroup to work along with DatePicker. Good luck!

#17669 report it
masdib.banget at 2014/07/13 10:26pm
newbie use yiiwheels

I use yiiwheels version 1.0.4 but when i use WhDatePickerHelper like this code :

<?php $tanggal = $this->widget('yiiwheels.widgets.formhelpers.WhDatePickerHelper', array(
                    'model' => $model,
                    'attribute' => 'CUR_DATE',
                    'inputOptions' => array('class' => 'input-medium'),
                    'name' => 'datepicker',
               ), true); 
            <?php echo $form->customControlGroup($tanggal, $model, 'CUR_DATE', array('span'=>6)); ?>

And show this error : TbActiveForm and its behaviors do not have a method or closure named "customControlGroup".Please help me?

#16350 report it
Gustavo Andrade at 2014/02/13 10:33am
Must Have Ext


One of the most useful extensions!

#15934 report it
Scott_Huang at 2013/12/31 04:57am
An enhance for google chart widget

Can show Gauge and other types


A minor enhance for google chart widget.

#15933 report it
Scott_Huang at 2013/12/31 04:55am
A guide for integrate yiistrap/yiiwheels/yiibooster together


Actually, the author can modify the extention to avoid end users to manual replace by themselves.

#15281 report it
Daniel at 2013/10/23 12:17am
similar look to other fields

Hi Antonio,

I put my question (if not yet implemented, can it become a suggestion?) on this thread

Thank you in Advance.


#14994 report it
MistaMoh at 2013/09/27 03:17am
Great ! and a question

This is awesome guys ! Great integration into yii's awesome system.

Yet, while i can use the provided widgets, most of them don't display as good as in the samples.

For instance, the language bar doesn't display the flags. The datepickers also have weird style.

Do you guys have the same experience ?

#14560 report it
speculatius at 2013/08/22 03:13pm
Great Extension

Thanks for this library, it is awesome. Just want to tell you that client/ajax validation is not working for WhDateTimePicker.

#14552 report it
sebako at 2013/08/22 07:09am
bug in WhEditable & WhEditableField

Hey there,

just found a bug in the WhEditable.php && WhEditableField.php class It's a reflection error when you change the app language to something other than english. Changing all Occasions of Editable to WhEditable will fix the error.



#14514 report it
marvix at 2013/08/19 04:44pm
Switch & ToggleButton

does the Switch btn works ? for me its only showing white box, and the ToggleButton works, but the in the form the always 1 for both status!

#14471 report it
Jose H. Milán at 2013/08/14 10:25am
I agree with @Lloyd

I'd really rather to use YiiWheels but I'm feeling a bit missed about it and I don't dare to use it yet. Maybe a short tutorial will help a lot to me and many other devs who want to draw away YiiBooster.

#14470 report it
Lloyd at 2013/08/14 08:50am
Short tutorial on how to migrate from YiiBooster to YiiStrap + YiiWheels

I realize that Antonio is extremely busy these days, but maybe he can find the time to write a short tutorial on how to migrate from YiiBooster to YiiStrap + YiiWheels.

This would be a great help for me, and many other people.

#14468 report it
migajek at 2013/08/14 05:01am
ActiveForm + Redactor

Hi, as most of us here I'm about to switch from YiiBooster to YiiStrap + YiiWheels. So far I've been using


how do I use the new approach for editors with YiiStrap active form?

#14320 report it
Antonio Ramirez at 2013/08/04 02:25pm

Yiinitializr has been also updated... Yiistrap latest version is on 2amigos/yiistrap 1.0.1 and 2amigos/yiiwheels 1.0.2 is working perfectly with it... (demo site runs with them)

#14316 report it
Antonio Ramirez at 2013/08/04 12:24pm
@raoul and @leo4all

Please check the github of the demo site... I have updated the library now... will do the same with Yiinitializr. Is working fine, with the newest 1.0.1 version (I removed the dependency of WhHtml)

#14311 report it
Antonio Ramirez at 2013/08/04 11:05am
@raoul and @leo4all

I apologize for all the issues.

  • The reason why I choose a fork from Yiistrap instead of using it directly, is that the other library was changing far too much without taking care of BC compatibility, thus, forced me to work with my own version so I didn't have to change the projects constantly. I am going to fix that very soon... in the meantime, if you wish to have YiiStrap from http://getyiistrap.com directly + yiiwheels, you will have to use its version 1.0.0-beta. The next TAGGED version 1.0.2 will solve all these issues.

  • The reason why it fails is because of what I explained before... please use 1.0.0-beta and those problems will be solved.

#14278 report it
leo4all at 2013/08/01 04:52am

Am Having this issue. Call to undefined method TbHtml::defaultOption() on yiiwheels\widgets\select2\WhSelect2.php on line 70

But I can't see the defaultOption function on TBHtml class.

What am missing?

Using Yiistrap already setup.

#14220 report it
Raoul at 2013/07/27 01:01pm
composer install

Hi, after installing yiiwheel via composer, all links in the top navbar are not working ! This is because YiiWheels ** required **2amigos/yiistrap which is a clone of crisu83/yiistrap. This original repo includes the fix for the navbar, but 2amigos/yiistrap does not.

why did you clone crisu83/yiistrap instead of using it directly as a requirement for yiiwheels ?


#14179 report it
pmaselkowski at 2013/07/24 03:24pm
Together always better!

Good that you guys joined forces, was hard to choose between Yii-Bootstrap and Yii-Booster:)

#14136 report it
Raoul at 2013/07/22 12:00pm
Get started

Am I mistaking if I say that the chapter Get Started 2.Configuration section of the site should include :

'yiiwheels' => array(
    'class' => 'yiiwheels.YiiWheels',

... in the component declaration ?

Leave a comment

Please to leave your comment.

Create extension
No downloadable files yet