Skip to content
This repository has been archived by the owner. It is now read-only.
This is widget wrapper of Flexslider for Yii2.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is widget wrapper of Flexslider for Yii2.

##Installation The preferred way to install this extension is through composer.

Either run

$ php composer.phar require bupy7/yii2-flexslider "dev-master"

or add

"bupy7/yii2-flexslider": "dev-master"

to the require section of your composer.json file.

##How use

Added following code to your view:


use bupy7\flexslider\FlexSlider;

echo FlexSlider::widget([
    'items' => [
        '<img src="">',
            'content' => '<img src="">',
            'options' => [
                'class' => 'my-class',


##Options of widget

Name Description
$items Items of FlexSlider
$pluginOptions FlexSlider plugin options
$tagSlides Slides tag. By default 'ul'.
$tagItem Items tag to slides. By default 'li'.
$options FlexSlider widget options.
$slidesOptions Options of slides tag.


yii2-flexslider is released under the BSD 3-Clause License.

You can’t perform that action at this time.