PHPackages                             reg2005/oc-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. reg2005/oc-range

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

reg2005/oc-range
================

Widget range for october CMS

1.0.4(9y ago)18242[1 issues](https://github.com/reg2005/oc-range/issues)MITPHP

Since Jul 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/reg2005/oc-range)[ Packagist](https://packagist.org/packages/reg2005/oc-range)[ RSS](/packages/reg2005-oc-range/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Range form widget for October CMS!
==================================

[](#range-form-widget-for-october-cms)

[![alt text](https://github.com/reg2005/oc-range/raw/master/image/scrn.jpg)](https://github.com/reg2005/oc-range/blob/master/image/scrn.jpg)

How to use:
===========

[](#how-to-use)

##### 1. Just add into your plugin or project composer.json:

[](#1-just-add-into-your-plugin-or-project-composerjson)

```
{
    "require": {
        "reg2005/oc-range": "1.0.*"
    }
}
```

##### 2. Go to your october project directory use terminal, and run command:

[](#2-go-to-your-october-project-directory-use-terminal-and-run-command)

> composer update

##### 3. Add to your Plugin.php this:

[](#3-add-to-your-pluginphp-this)

```
    public function registerFormWidgets()
    {
        return [
            'reg2005\Widgets\Range\Widget' => [
                'label' => 'range',
                'code'  => 'range'
            ]
        ];
    }
```

ADD to your fields.yaml something like:

```
money:
    customLabel: Price
    type: range
    default: 300
    minMax:
      min:
          - 50
      10%:
          - 500
          - 1000
      20%:
          - 1500
          - 2000
      50%:
          - 4000
          - 6000
      60%:
          - 6000
          - 10000
      max:
          - 10000
    span: full
```

OR:

```
money:
    customLabel: Price
    type: range
    default: 300
    minMax:
    min: 50
    max: 1000
    span: full
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

3582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dfb5536c435cc0a8d5ca5b8729a13bdfb2334da5091cb9f5a1a50c488c18bf0?d=identicon)[reg2005](/maintainers/reg2005)

### Embed Badge

![Health badge](/badges/reg2005-oc-range/health.svg)

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

###  Alternatives

[braincrafted/background-process

Start processes in the background that continue running when the PHP process exists.

2976.1k1](/packages/braincrafted-background-process)[ammont/finglify

Translates farsi/persian to finglish/pinglish.

385.3k](/packages/ammont-finglify)

PHPackages © 2026

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