PHPackages                             yii2mod/yii2-bx-slider - 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. yii2mod/yii2-bx-slider

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

yii2mod/yii2-bx-slider
======================

Bx-slider widget based on bx-slider extension {@link http://bxslider.com)

1.0(10y ago)1210.8k5MITPHP

Since Jul 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/yii2mod/yii2-bx-slider)[ Packagist](https://packagist.org/packages/yii2mod/yii2-bx-slider)[ RSS](/packages/yii2mod-yii2-bx-slider/feed)WikiDiscussions master Synced 1mo ago

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

Bx Slider Widget for Yii 2
==========================

[](#bx-slider-widget-for-yii-2)

Widget based on [BxSlider extension](http://bxslider.com)

[![Latest Stable Version](https://camo.githubusercontent.com/1736b6334f90a8a4a47426a853ffc79daf8d34e2c32e2f605f2b20bb866f72ed/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d62782d736c696465722f762f737461626c65)](https://packagist.org/packages/yii2mod/yii2-bx-slider) [![Total Downloads](https://camo.githubusercontent.com/1d968e2672f91c6649e65636927266282819bdfa75b547bbe8e9f45751da510e/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d62782d736c696465722f646f776e6c6f616473)](https://packagist.org/packages/yii2mod/yii2-bx-slider) [![License](https://camo.githubusercontent.com/aafddba293127a44063ec5bbbcae3d0a8d15ba53765e626e50c50b3f07aeacc1/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d62782d736c696465722f6c6963656e7365)](https://packagist.org/packages/yii2mod/yii2-bx-slider)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist yii2mod/yii2-bx-slider "*"

```

or add

```
"yii2mod/yii2-bx-slider": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

Once the extension is installed, simply add widget to your page as follows:

```
// Video items
$items = [
   '',
   ''
 ];

// Or image items
$items = [
   '',
];

 echo yii2mod\bxslider\BxSlider::widget([
    'pluginOptions' => [
        'maxSlides' => 1,
        'controls' => false,
         // set video property to true, if in $items array exist videos
        'video' => true,
        'slideWidth' => 400,
         // usage events
        'onSliderLoad' => new yii\web\JsExpression('
            function() {
                alert("Slider load");
            },
        ')
     ],
    'items' => $items
 ]);
```

Slider Options
--------------

[](#slider-options)

You can find them on the [options page](http://bxslider.com/options)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a53a15e1548ce60ee92591e71492a39eaaecfc88eaa1a9d7f353d5c910381de?d=identicon)[disem](/maintainers/disem)

---

Top Contributors

[![dmitry-semenov](https://avatars.githubusercontent.com/u/17027799?v=4)](https://github.com/dmitry-semenov "dmitry-semenov (2 commits)")

---

Tags

yii2yii2-bx-slideryii2-extensionyii2-slideryii2module

### Embed Badge

![Health badge](/badges/yii2mod-yii2-bx-slider/health.svg)

```
[![Health](https://phpackages.com/badges/yii2mod-yii2-bx-slider/health.svg)](https://phpackages.com/packages/yii2mod-yii2-bx-slider)
```

###  Alternatives

[branchonline/yii2-lightbox

Lightbox widget for Yii2

13139.0k1](/packages/branchonline-yii2-lightbox)[akiraz2/yii2-ticket-support

Yii2 Support Ticket Module, easy, flexible, fast

611.7k](/packages/akiraz2-yii2-ticket-support)[hiqdev/yii2-language

Yii2 module for language switching

1126.1k1](/packages/hiqdev-yii2-language)[vova07/yii2-start-comments-module

The comments module for Yii2-Start application.

159.5k1](/packages/vova07-yii2-start-comments-module)

PHPackages © 2026

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