1. Go to this page and download the library: Download hk2/scrolltop library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hk2 / scrolltop example snippets
bash
php bin/magento module:enable HK2_ScrollTop
bash
php bin/magento setup:upgrade
bash
php bin/magento setup:static-content:deploy
bash
php bin/magento cache:clean
bash
php bin/magento module:disable HK2_ScrollTop
bash
php bin/magentosetup:upgrade
bash
php bin/magento setup:static-content:deploy
bash
php bin/magento cache:clean
`bash
php bin/magento setup:upgrade
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.