PHPackages                             backendorf/m2-scroll-to-top - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. backendorf/m2-scroll-to-top

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

backendorf/m2-scroll-to-top
===========================

A lightweight and configurable Scroll to Top button for Adobe Commerce and Magento 2 storefronts.

1.0.0(7mo ago)01MITHTML

Since Oct 11Pushed 1mo agoCompare

[ Source](https://github.com/backendorf/m2-scroll-to-top)[ Packagist](https://packagist.org/packages/backendorf/m2-scroll-to-top)[ RSS](/packages/backendorf-m2-scroll-to-top/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Backentec Scroll To Top for Adobe Commerce / Magento 2
======================================================

[](#backentec-scroll-to-top-for-adobe-commerce--magento-2)

A lightweight and configurable module that adds a "Scroll to Top" button to your storefront.

Features
--------

[](#features)

- Enable/disable via admin configuration
- Configurable position: Left or Right
- Configurable style: Round or Square
- Smooth scroll animation
- Accessible (ARIA labels)
- Scope-aware configuration (Default / Website / Store View)

Requirements
------------

[](#requirements)

- PHP 8.1+
- Magento 2.4.x / Adobe Commerce 2.4.x
- Hyvä Theme (optional) — automatically detected, no extra configuration needed

Hyvä Theme Compatibility
------------------------

[](#hyvä-theme-compatibility)

When the Hyvä Theme is active, the module automatically serves an Alpine.js + Tailwind CSS template instead of the default jQuery/Less one.

No additional compatibility module is required. After installing, run:

```
bin/magento setup:upgrade
bin/magento hyva:config:generate
# inside your Hyvä theme directory (e.g. app/design/frontend/Hyva/default):
npm run build-prod
```

The `hyva:config:generate` command triggers the observer that registers this module in `app/etc/hyva-themes.json`. The subsequent `npm run build-prod` is when Tailwind actually scans the module templates and compiles the utility classes into the theme CSS. Without this step, the button will have no styles.

Installation
------------

[](#installation)

```
composer require backentec/m2-scroll-to-top
bin/magento module:enable Backentec_ScrollToTop
bin/magento setup:upgrade
bin/magento cache:flush
```

Configuration
-------------

[](#configuration)

Admin panel: `Stores > Configuration > Backentec > Scroll To Top`

OptionDescriptionDefaultEnabledShow or hide the buttonYesPositionHorizontal position (Left / Right)RightStyleButton shape (Round / Square)RoundLicense
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance84

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

210d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9625b72ab076b8fd09e509fb153b23ec3ff9295e7e15ecf17a485f782e0dce4b?d=identicon)[backendorf](/maintainers/backendorf)

---

Top Contributors

[![backendorf](https://avatars.githubusercontent.com/u/37641316?v=4)](https://github.com/backendorf "backendorf (3 commits)")

### Embed Badge

![Health badge](/badges/backendorf-m2-scroll-to-top/health.svg)

```
[![Health](https://phpackages.com/badges/backendorf-m2-scroll-to-top/health.svg)](https://phpackages.com/packages/backendorf-m2-scroll-to-top)
```

###  Alternatives

[symfony/polyfill-uuid

Symfony polyfill for uuid functions

688335.4M63](/packages/symfony-polyfill-uuid)[spatie/error-solutions

This is my package error-solutions

6853.2M11](/packages/spatie-error-solutions)[phpflo/phpflo

Flow-based programming for PHP

2173.3k4](/packages/phpflo-phpflo)[eftec/autoloadone

AutoloadOne is a program that generates an autoload class for PHP.

403.4k](/packages/eftec-autoloadone)[ys-tools/default-theme-configuration-bundle

OroCommerce Default Theme Configuration Bundle

124.2k](/packages/ys-tools-default-theme-configuration-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
