stinger-soft/jquery-scrollto-bundle
A Symfony bundle that packages the jQuery ScrollTo plugin, providing smooth animated scrolling to page elements and anchors through Twig templates and the asset pipeline, with configurable duration, easing, and offsets for building fluid in-page navigation.
element.scrollIntoView({behavior: 'smooth'}), scroll-behavior: smooth, prefers-reduced-motion handling) is worth a third-party dependency at all.jquery-scrollTo or replace it during the next Symfony/PHP upgrade.Consider only if all of the following hold:
Look elsewhere (or build in-house) if:
Adoption risk framing: this is a thin glue bundle wrapping an old jQuery plugin. The code volume is small, so the technical risk is contained, but the package should be treated as unmaintained and recorded as such in the dependency register.
To executives: This is not a strategic dependency and should not be added to any new product. It is a small 2016-era convenience wrapper that produces one UX behavior — smooth animated scrolling — which modern browsers do natively. There is no commercial upside to adopting it and a small but real maintenance/security tail risk.
To engineering: The bundle contributes almost nothing beyond registering jquery-scrollTo in a Symfony asset pipeline. The real value is the JS plugin's behavior, which we can reproduce with roughly ten lines of vanilla JavaScript plus CSS, with better handling of prefers-reduced-motion and keyboard focus. Recommendation: replace rather than adopt; if a legacy app already ships it, leave it pinned until that app's next asset-pipeline migration and schedule the swap as a small tech-debt item (estimate: half a day including QA).
The ask: (1) Do not include this package in any Laravel or greenfield scope. (2) Add it to the tech-debt register as unmaintained with a note on the native replacement. (3) If retained short-term in a legacy Symfony app, vendor-pin the plugin version and document ownership.
How can I help you explore Laravel packages today?