PHPackages                             oakcms/yii2-bootstrap-switch - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. oakcms/yii2-bootstrap-switch

AbandonedArchivedYii2-extension[Utility &amp; Helpers](/categories/utility)

oakcms/yii2-bootstrap-switch
============================

Renders a Bootstrap Toggle Switch plugin widget.

v1.0.0(10y ago)03541GPL-3.0PHP

Since Jun 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/oakcms/yii2-bootstrap-switch)[ Packagist](https://packagist.org/packages/oakcms/yii2-bootstrap-switch)[ RSS](/packages/oakcms-yii2-bootstrap-switch/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Bootstrap Switch Widget for Yii2
================================

[](#bootstrap-switch-widget-for-yii2)

Renders a Bootstrap Toggle Switch plugin widget.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist oakcms/yii2-bootstrap-switch "*"

```

or add

```
"oakcms/yii2-bootstrap-switch": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
