The preferred way to install this extension is through composer.
Either run
$ composer require morovinger/yii2-js-zip:*
or add
"morovinger/yii2-js-zip": "*"
to the require
section of your composer.json
file.
Just register asset in a required view
use morovinger\yii2jszip;
yii2jszip\JSZipAsset::register($this);