Yii2 Scroll Pager Installation The preferred way to install this extension is through composer. Either run composer require --prefer-dist voskobovich/yii2-scroll-pager "*" or add "voskobovich/yii2-scroll-pager": "*" to the require section of your composer.json file.