The preferred way to install this extension is through composer.
Run
composer require onmotion/yii2-babel-polyfill-assets "*"
or add
"onmotion/yii2-babel-polyfill-assets": "*"
to the require section of your composer.json
file.
<?php \onmotion\babelpolyfill\BabelPolyfillAsset::register($this); ?>