PHPackages                             eelke.net/float-range - 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. eelke.net/float-range

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

eelke.net/float-range
=====================

Range slider Inputfield for ProcessWire, with precision, step values &amp; optional manual override

008(2y ago)121MITPHPPHP &gt;=7.0.0

Since Jul 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/eelke/InputfieldFloatRange)[ Packagist](https://packagist.org/packages/eelke.net/float-range)[ Docs](https://github.com/eelke/InputfieldFloatRange)[ RSS](/packages/eelkenet-float-range/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Float (Range) InputField
========================

[](#float-range-inputfield)

What is it?
-----------

[](#what-is-it)

The missing range slider Inputfield for Processwire. See also the Processwire [Forum thread](https://processwire.com/talk/topic/22430-inputfieldfloatrange-a-range-slider-inputfield/?tab=comments#comment-192449) and the [Modules directory](http://modules.processwire.com/modules/inputfield-float-range/) listing.

What does it do?
----------------

[](#what-does-it-do)

This module extends InputfieldFloat and allows you to use HTML5 range sliders for number fields in your templates. It includes a visible and editable value field, to override/tweak the value if required.

Features
--------

[](#features)

- Min/max values
- Precision (number of decimals)
- Optional step value ([Read more](https://www.w3schools.com/tags/att_input_step.asp))
- Optional manual override of the selected value (will still adhere to the rules above)
- Configurable rounding of manually entered values (floor, round, ceil, disable)

Usage
-----

[](#usage)

- Clone / zip repo, or run `composer require eelke.net/float-range` in your PW root
- Install FieldtypeFloatRange, this automatically installs the Inputfield
- Create new field of type `Float (range)` or convert an existing `Float`, `Integer` or `Text` field.
- To render the field's value simply echo `$page->field`

Demo
----

[](#demo)

A field with Min=0, Max=1, Step=0.2, Precision=2: [![](https://github.com/eelke/InputfieldFloatRange/raw/master/demo/RangeSlider-demo-1.gif)](https://github.com/eelke/InputfieldFloatRange/raw/master/demo/RangeSlider-demo-1.gif)

Field with settings Min=0, Max=200, Step=0.25, Precision=2 [![](https://github.com/eelke/InputfieldFloatRange/raw/master/demo/RangeSlider-demo-2.gif)](https://github.com/eelke/InputfieldFloatRange/raw/master/demo/RangeSlider-demo-2.gif)

Todo
----

[](#todo)

- Make the display-field's size configurable (will use the Input Size field setting)
- Hopefully become redundant

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

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

1041d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d8f80199daa7bcc52666bcae28aa29956a46765fba027391938d8d9ca33de03?d=identicon)[eelke.net](/maintainers/eelke.net)

---

Top Contributors

[![eelke](https://avatars.githubusercontent.com/u/738902?v=4)](https://github.com/eelke "eelke (18 commits)")

---

Tags

phpprocesswireprocesswire-modulesprocesswiremodule

### Embed Badge

![Health badge](/badges/eelkenet-float-range/health.svg)

```
[![Health](https://phpackages.com/badges/eelkenet-float-range/health.svg)](https://phpackages.com/packages/eelkenet-float-range)
```

PHPackages © 2026

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