PHPackages                             novicell/premium\_tools - 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. novicell/premium\_tools

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

novicell/premium\_tools
=======================

Premium Tools

1.4.1(2mo ago)02122GPL-2.0+PHP

Since Mar 26Pushed 2mo agoCompare

[ Source](https://github.com/novicell-drupal/premium_tools)[ Packagist](https://packagist.org/packages/novicell/premium_tools)[ Docs](https://www.novicell.dk)[ RSS](/packages/novicell-premium-tools/feed)WikiDiscussions 1.x Synced yesterday

READMEChangelogDependenciesVersions (37)Used By (2)

DDS Tools
=========

[](#dds-tools)

The module has no special installation steps. This document will explain what features it provides and how you can use them.

What are the features of this module?
-------------------------------------

[](#what-are-the-features-of-this-module)

- Each developer who adds code to this module is responsible for adding a feature description in this file, or providing an example in an example file in the module.

### Ajax Commands

[](#ajax-commands)

#### The 'ScrollTo' Ajax Command

[](#the-scrollto-ajax-command)

- Purpose:

With this command you can make an ajax form scroll on an action. This is useful when removing/showing new content in an Ajax form.

- Usage:

1. Add the library to your form, like so `$form['#attached']['library'][] = 'dds_tools/scroll_to_command';`
2. Use the command in your Ajax callback function, like so:

```
    $response = new JsonResponse();
    $response->addCommand(new ScrollToCommand([
          'selector' => '#selector',
          'header_selectors' => ['.js-header', '.js-main-navigation'],
          'offsetOrPosition' => 'offset',
        ]));
    return $response;
```

The parameters for the command are as follows: The parameters for the command are as follows:

- selector: string
    - The selector to scroll to.
- header\_selector: array
    - If the site has a fixed header, give the header class(es) to offset it.
- offsetOrPosition: string
    - If the scroll should be relative to the document or to the selector.
        - 'offset' is relative to the document
        - '' will default to using jQuery position, relative to the selector.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 75.6% 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

Every ~51 days

Recently: every ~72 days

Total

37

Last Release

84d ago

Major Versions

0.3.2 → 1.0.02021-06-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/f05047c5f08a3cd15e594f28b8ead3ad59fae2ef57a5f7a9440f62beb279bfd0?d=identicon)[novicell-drupal](/maintainers/novicell-drupal)

---

Top Contributors

[![mgp-novicell](https://avatars.githubusercontent.com/u/19587931?v=4)](https://github.com/mgp-novicell "mgp-novicell (31 commits)")[![SorenBonde](https://avatars.githubusercontent.com/u/12046301?v=4)](https://github.com/SorenBonde "SorenBonde (6 commits)")[![kdbnovicell](https://avatars.githubusercontent.com/u/62374827?v=4)](https://github.com/kdbnovicell "kdbnovicell (2 commits)")[![madsnorgaard](https://avatars.githubusercontent.com/u/28791660?v=4)](https://github.com/madsnorgaard "madsnorgaard (1 commits)")[![mmanovicell](https://avatars.githubusercontent.com/u/14010689?v=4)](https://github.com/mmanovicell "mmanovicell (1 commits)")

---

Tags

Novicell

### Embed Badge

![Health badge](/badges/novicell-premium-tools/health.svg)

```
[![Health](https://phpackages.com/badges/novicell-premium-tools/health.svg)](https://phpackages.com/packages/novicell-premium-tools)
```

###  Alternatives

[mediasuitenz/overpass2geojson

Convert overpass JSON to GeoJSON

132.1k](/packages/mediasuitenz-overpass2geojson)

PHPackages © 2026

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