PHPackages                             silvercommerce/quantityfield - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. silvercommerce/quantityfield

ActiveSilverstripe-vendormodule[Validation &amp; Sanitization](/categories/validation)

silvercommerce/quantityfield
============================

Text input field with validation for numeric values.

1.1.0(10mo ago)12.9k22BSD-3-ClausePHP

Since Jan 30Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/silvercommerce/quantityfield)[ Packagist](https://packagist.org/packages/silvercommerce/quantityfield)[ Docs](https://github.com/silvercommerce/quantityfield)[ RSS](/packages/silvercommerce-quantityfield/feed)WikiDiscussions 1 Synced 3d ago

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

SilverStripe Quantity Field
===========================

[](#silverstripe-quantity-field)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/428103327ec7e32cfdffa35a0202508815a96cfecb8de656381d37f4b805b4e0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696c766572636f6d6d657263652f7175616e746974796669656c642f6261646765732f7175616c6974792d73636f72652e706e673f623d312e30)](https://scrutinizer-ci.com/g/silvercommerce/quantityfield/?branch=1.0)

Extended version of numeric input field with improved validation for numeric values.

This module is basically a NumericField, but the validator perorms a check to ensure that the value entered is a number.

Installation via composer
-------------------------

[](#installation-via-composer)

Install this module by running:

```
composer require silvercommerce/quantityfield

```

Dependancies
------------

[](#dependancies)

- [SilverStripe Framework 4.\*](https://github.com/silverstripe/silverstripe-framework)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance53

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~900 days

Total

4

Last Release

326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7d4998767cb41bf0048a65158559384fbab33751b26c996d6367019c68c4f8b?d=identicon)[DFT](/maintainers/DFT)

---

Top Contributors

[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (11 commits)")

---

Tags

fieldsformsilverstripesilverstripeformfieldForms

### Embed Badge

![Health badge](/badges/silvercommerce-quantityfield/health.svg)

```
[![Health](https://phpackages.com/badges/silvercommerce-quantityfield/health.svg)](https://phpackages.com/packages/silvercommerce-quantityfield)
```

###  Alternatives

[sheadawson/silverstripe-zenvalidator

Faster, easier client and server-side form validation for SilverStripe

5778.4k2](/packages/sheadawson-silverstripe-zenvalidator)[undefinedoffset/silverstripe-nocaptcha

A spam protector and form field using Google's reCAPTCHA v2 or optionally a foundation v3 implementation

33471.6k16](/packages/undefinedoffset-silverstripe-nocaptcha)[jonom/silverstripe-text-target-length

Set character length recommendations on SilverStripe text form fields

32132.4k9](/packages/jonom-silverstripe-text-target-length)

PHPackages © 2026

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