webvimark / module-slider
Slider :)
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/webvimark/module-slider
Requires
- webvimark/components: dev-master
- webvimark/cropper: *
This package is auto-updated.
Last update: 2025-09-29 01:49:23 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist webvimark/module-slider "*"
or add
"webvimark/module-slider": "*"
to the require section of your composer.json
file.
Configuration
In your config/web.php
'modules'=>[ ... 'slider' => [ 'class' => 'webvimark\webvimark\modules\slider\SliderModule', ], ... ],
Usage
1 Go to http://site.com/slider/slider/index 2 Create slider with some "code" (for example "code" = "main" 3 Go to http://site.com/slider/slider-image/index?slider=main 4 Add images
and finally use widget
<?= SliderWidget::widget([ 'code'=>'main', 'pluginOptions'=>[ 'auto'=>true, 'pause'=>5000, ], ]) ?>