yiisoft/yii2-bootstrap5
The Twitter Bootstrap v5 extension for the Yii framework
2.0.51
1.7M downloads/mo
#2895 most downloaded on Packagist
yiisoft/yii2-bootstrap5
What this package is like to depend on
Last release 8 months ago
03 Dec 2025
Release timing varies
gaps range from 2 months to 2.4 years
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
6 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
6 releases · Aug 2021 to Dec 2025Releases
latest 6-
2.0.5103 Dec 2025Release notes
Open source →What's Changed
- Fix
LinkPager::getPageRangewhenmaxButtonsassign with 2 by @mspirkov in #103 - Exclude commit with CS changes from Git Blame by @mspirkov in #104
- Added view option to render a view with Yii inside tab content by @nilsburg in #87
New Contributors
Full Changelog: 2.0.50...2.0.51
Release notes
Open source →- Enh #87: Added view option to render a view with Yii inside tab content
- Bug #83: Removed bower asset and replaced with twbs/bootstrap package (simialbi)
- Bug #88: Fix ButtonDropdown JS error (stevekr, simialbi)
- Bug #103: Fix
LinkPager::getPageRangewhenmaxButtonsis 2 (mspirkov)
- Fix
-
2.0.5010 Apr 2025Release notes
Open source →General
Why did this release has the version number
2.0.50and not2.0.5or2.1.0(see #96)? It's because we followed the main framework versioning and compatibility handlingWhat's Changed
- Allow Navbar to accept collapseOptions = false by @theblindfrog in #63
- update github folder link by @Arhell in #64
- update docs folder links by @Arhell in #65
- update tests folder links by @Arhell in #66
- update src folder links by @Arhell in #67
- update root folder links by @Arhell in #68
- update readme link by @Arhell in #69
- Nav::isItemActive(): Return value must be of type bool, int returned by @hirenbhut93 in #72
- Add attribute brandImageOptions to NavBar by @EvilKarter in #79
- Fix PHP 8.4 "Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead" error by @OneMorePenguin in #93
- Whole Bootstrap directory is published into web/assets by @rmenor in #86
- Checkbox labels should not be hidden in inline forms by @BBoom in #84
New Contributors
- @theblindfrog made their first contribution in #63
- @Arhell made their first contribution in #64
- @hirenbhut93 made their first contribution in #72
- @EvilKarter made their first contribution in #79
- @OneMorePenguin made their first contribution in #93
- @rmenor made their first contribution in #86
- @BBoom made their first contribution in #84
Full Changelog: https://github.com/yiisoft/yii2-bootstrap5/blob/master/CHANGELOG.md
Release notes
Open source →- Bug #84: Checkbox labels in inline forms are no longer hidden (BBoom)
- Bug #80: Prevent publishing of whole bootstrap directory (rmenor)
- Bug #92: Explicit nullable parameter (OneMorePenguin, simialbi)
- Enh #78: Navbar has new attribute
brandImageOptions(EvilKarter) - Bug #74: Bootstrap5 Button is not registering clientEvents (simialbi)
- Bug #72: Nav::isItemActive(): Return value must be of type bool, int returned (hirenbhut93)
- Bug #62: Navbar can now accept
collapseOptionsto befalse(theblindfrog)
-
2.0.430 Nov 2022Release notes
Open source →What's Changed
- Breadcrumbs refactoring by @WinterSilence in #40
- Update BaseHtml by @WinterSilence in #39
- Update basic-usage.md by @WinterSilence in #41
- build(*): Fix CI by allowing the yii2-composer plugin by @machour in #47
- Fix dropdown & test data-bs usage by @machour in #46
- Update BootstrapWidgetTrait by @WinterSilence in #48
- Normalize TranslationBootstrap by @WinterSilence in #53
- Update BootstrapAsset by @WinterSilence in #52
- Update BootstrapPluginAsset by @WinterSilence in #51
- Translate default text of
NavBar::$screenReaderToggleTextby @WinterSilence in #57
Full Changelog: 2.0.3...2.0.4
Release notes
Open source →- Bug #58: Dropdown clientEvents did not fire because they need to be bound on parent (simialbi)
- Bug #43: Accordion widget does not set "collapsed" class on toggle button (simialbi)
- Enh #39: Add inline mode to
BaseHtml::checkboxList()andBaseHtml::radioList()(WinterSilence) - Enh #40: Breadcrumbs refactoring (WinterSilence)
- Bug #46: Fix data-attribute usage for Dropdown toggle (machour)
- Enh #48: Update
BootstrapWidgetTraitto initialize JS plugins without jQuery (WinterSilence)
-
2.0.322 Apr 2022Release notes
Open source →- Enh #36:
BootstrapWidgetTrait::$clientOptions = falsedisables registerJs inBootstrapWidgetTrait(julianrutten) - Enh #33: Updated russian translations (WinterSilence)
- Enh #28: Added translations (simialbi)
- Enh #24: Accept
Breadcrumbs::$homeLink = falseto omit "Home" link (fetus-hina) - Enh #27: Changed all data- and aria- attributes to short syntax (simialbi)
- Enh #26: Add Bootstrap icon asset (Krakozaber)
- Enh #18: Add rangeInput(), colorInput() and switch mode to checkbox() in class ActiveField (WinterSilence)
- Bug #19: Fix value of attribute "aria-current" in LinkPager::renderPageButton() (WinterSilence)
- Bug #23: Fix class attribute in listBox() and dropDownList() of class ActiveField (WinterSilence)
- Bug #133: Fix default
homeUrlinBreadcrumbswidget (luke-)
- Enh #36:
-
2.0.221 Oct 2021Release notes
Open source →- Bug #5: BootstrapWidgetTrait::registerPlugin do nothing if no clientOptions is provided (dicrtarasov)
- Bug #6: yii\bootstrap5\BaseHtml::staticControl(): Argument #1 ($value) must be of type string, int given (dicrtarasov)
- Bug #9: fixed default ActiveField::hintOptions (dicrtarasov)
- Bug #15: Fixed inline rendering of checkboxLists and radioLists (simialbi)
- Enh #11: Brought back close button api (simialbi)
-
2.0.111 Aug 2021