PHPackages                             rossaddison/yii-bootstrap5 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. rossaddison/yii-bootstrap5

ActiveLibrary[Framework](/categories/framework)

rossaddison/yii-bootstrap5
==========================

Yii Framework Twitter Bootstrap 5 Extension

0244PHPCI failing

Since Mar 28Pushed 3mo agoCompare

[ Source](https://github.com/rossaddison/yii-bootstrap5)[ Packagist](https://packagist.org/packages/rossaddison/yii-bootstrap5)[ RSS](/packages/rossaddison-yii-bootstrap5/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

 [ ![Yii](https://camo.githubusercontent.com/8317c17418b39410a660f5149071d26c5023c0d5fb2b7ebb771324812f666d73/68747470733a2f2f796969736f66742e6769746875622e696f2f646f63732f696d616765732f7969695f6c6f676f2e737667) ](https://github.com/yiisoft) [ ![Bootstrap](https://camo.githubusercontent.com/7e58968e2b6df837d6e5d98e5fe42dabdd4f389069f7f77c4de9d08b19b4dbb4/68747470733a2f2f76342d616c7068612e676574626f6f7473747261702e636f6d2f6173736574732f6272616e642f626f6f7473747261702d736f6c69642e737667) ](https://getbootstrap.com/)

Yii Framework Twitter Bootstrap 5 Extension
===========================================

[](#yii-framework-twitter-bootstrap-5-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/e7128b3ae9c3518f801e2551338f46b8b54c492ad5ae7c3aaa824abf053e0311/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f626f6f747374726170352f76)](https://packagist.org/packages/yiisoft/bootstrap5)[![Total Downloads](https://camo.githubusercontent.com/8bbb1539239cfc880429a547b6be4a001d810a9d85d41e0416430a755b6b9325/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f626f6f747374726170352f646f776e6c6f616473)](https://packagist.org/packages/yiisoft/bootstrap5)[![Build status](https://github.com/yiisoft/bootstrap5/workflows/build/badge.svg)](https://github.com/yiisoft/bootstrap5/actions?query=workflow%3Abuild)[![Code coverage](https://camo.githubusercontent.com/c69cc0079d7ce9b59d428effe3e1d0dc92b1c1c472c94fde137f18aaffd5fae0/68747470733a2f2f636f6465636f762e696f2f67682f796969736f66742f626f6f747374726170352f67726170682f62616467652e7376673f746f6b656e3d53384953584350533241)](https://codecov.io/gh/yiisoft/bootstrap5)[![Mutation testing badge](https://camo.githubusercontent.com/cfc129f41665f7a30f245f736287a38e1117395d4c5cab72ffe903f9a81625f6/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246796969736f6674253246626f6f747374726170352532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/bootstrap5/master)[![static analysis](https://github.com/yiisoft/bootstrap5/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/bootstrap5/actions?query=workflow%3A%22static+analysis%22)[![type-coverage](https://camo.githubusercontent.com/865ecdb1f3b716032a38566c5fb8236bedcb49ff1a5fd33a04acd4ec17ceda85/68747470733a2f2f73686570686572642e6465762f6769746875622f796969736f66742f626f6f747374726170352f636f7665726167652e737667)](https://shepherd.dev/github/yiisoft/bootstrap5)

This [Yii Framework](https://www.yiiframework.com/) extension encapsulates [Twitter Bootstrap 5](https://getbootstrap.com/docs/5.3/getting-started/introduction/) components and plugins in terms of Yii widgets, and thus makes using Bootstrap components/plugins in Yii applications extremely easy.

For example, to use the [Bootstrap 5 Carousel](https://getbootstrap.com/docs/5.3/components/carousel/) component, you can do the following:

```
