kl83 / yii2-slick-asset
Installs: 98
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kl83/yii2-slick-asset
Requires
- php: >=5.4.0
- bower-asset/slick-carousel: 1.*
- yiisoft/yii2: ^2.0.0
This package is auto-updated.
Last update: 2025-10-09 16:18:11 UTC
README
Slick is the last carousel you'll ever need. Project home page http://kenwheeler.github.io/slick/.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require kl83/yii2-slick-asset ~1.0.0
or add
"kl83/yii2-slick-asset": "~1.0.0"
to the require section of your composer.json file.
Usage
Adding an asset as a dependence on another asset.
class SomeAsset extends \yii\web\AssetBundle { ... public $depends = [ 'kl83\assets\SlickAsset', ]; ... }
Adding an asset within a view.
kl83\assets\SlickAsset::register($this);
License
MIT License