PHPackages                             hgh/yii-bootstrap-toggle - 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. hgh/yii-bootstrap-toggle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hgh/yii-bootstrap-toggle
========================

Using this library you can add on/off switch button which follows bootstrap style.

0131PHP

Since Jul 8Pushed 6y agoCompare

[ Source](https://github.com/H-Gh/yii-bootstrap-toggle)[ Packagist](https://packagist.org/packages/hgh/yii-bootstrap-toggle)[ RSS](/packages/hgh-yii-bootstrap-toggle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (1)

Yii bootstrap toggle
====================

[](#yii-bootstrap-toggle)

Using this library you can add on/off switch button which follows bootstrap style.

Usage
-----

[](#usage)

#### PHP

[](#php)

```
YiiBootstrapToggle::register($this);
```

#### HTML

[](#html)

```

```

#### jQuery

[](#jquery)

```
$(document).ready(function() {
    $(".testClassName").bootstrapToggle();
});
```

More information:

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7873222f18ced9739dd54f5bcfa13a8d9738496d22b38ff35d9f4b5b84f3269b?d=identicon)[h.gh](/maintainers/h.gh)

---

Top Contributors

[![H-Gh](https://avatars.githubusercontent.com/u/32479577?v=4)](https://github.com/H-Gh "H-Gh (1 commits)")

### Embed Badge

![Health badge](/badges/hgh-yii-bootstrap-toggle/health.svg)

```
[![Health](https://phpackages.com/badges/hgh-yii-bootstrap-toggle/health.svg)](https://phpackages.com/packages/hgh-yii-bootstrap-toggle)
```

###  Alternatives

[chenkby/yii2-region

Yii2中国省市区三级联动

325.1k](/packages/chenkby-yii2-region)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
