PHPackages                             codem/silverstripe-html5-inputs - 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. codem/silverstripe-html5-inputs

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

codem/silverstripe-html5-inputs
===============================

Base HTML5 input fields, no Javascript

v1.0.1(1y ago)09.4k↑15.6%[1 PRs](https://github.com/codem/silverstripe-html5-inputs/pulls)6BSD-3-ClausePHP

Since Nov 27Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/codem/silverstripe-html5-inputs)[ Packagist](https://packagist.org/packages/codem/silverstripe-html5-inputs)[ RSS](/packages/codem-silverstripe-html5-inputs/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (15)Used By (6)

HTML5 field classes for Silverstripe
====================================

[](#html5-field-classes-for-silverstripe)

This module provides a set of bare bones HTML5 inputs with no Javascript or CSS.

You can use these fields in your projects as-is or extend them to provide additional features or shims.

The supported inputs are listed at :

- colour (color)
- date, datetime-local, time
- email (extends core Silverstripe EmailField)
- month, week
- number
- range
- search
- tel
- url

Browser support for these fields is varying although nearly all modern browsers will support these fields to a decent extent.

Date, datetime and time fields are particularly difficult to support, due to locale differences and even different user expectations within those locales.

Traits
------

[](#traits)

Various field types support certain traits that allow setting/getting of common attributes

- Step -
- DataList -
- Spellcheck - [https://developer.mozilla.org/en-US/docs/Web/HTML/Global\_attributes/spellcheck](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
- Min/Max -  / max
- Pattern -
- Multiple -

### Datalist

[](#datalist)

Certain inputs support a ``, [e.g the colour field](./docs/en/002_inputs.md) to restrict initial selection.

This works somewhat like a `` element, except that browser implementation and support varies.

Requirements
------------

[](#requirements)

- silverstripe/framework ^5 (&gt;= v1)
- silverstripe/framework ^4 (&lt; v1)

Installation
------------

[](#installation)

```
composer require codem/silverstripe-html5-inputs
```

License
-------

[](#license)

BSD-3-Clause

See [License](./LICENSE.md)

Documentation
-------------

[](#documentation)

- [Documentation](./docs/en/001_index.md)

Configuration
-------------

[](#configuration)

Hopefully none !

Maintainers
-----------

[](#maintainers)

- Codem

Bugtracker
----------

[](#bugtracker)

Please use the Github issue tracker to report bugs and request features

Development and contribution
----------------------------

[](#development-and-contribution)

Pull requests and features are most welcome. If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance66

Regular maintenance activity

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~167 days

Recently: every ~125 days

Total

11

Last Release

372d ago

Major Versions

v0.1.4 → v1.0.0-rc12023-05-26

v0.1.5 → v1.0.0-rc22024-03-27

v1.0.1 → v2.0.0-rc12025-06-27

### Community

Maintainers

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

---

Top Contributors

[![MrJamesEllis](https://avatars.githubusercontent.com/u/603960?v=4)](https://github.com/MrJamesEllis "MrJamesEllis (46 commits)")[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (2 commits)")

---

Tags

HTML5silverstripeforminput

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/codem-silverstripe-html5-inputs/health.svg)

```
[![Health](https://phpackages.com/badges/codem-silverstripe-html5-inputs/health.svg)](https://phpackages.com/packages/codem-silverstripe-html5-inputs)
```

###  Alternatives

[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

345.1M12](/packages/kartik-v-yii2-widget-colorinput)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[kartik-v/yii2-widget-rangeinput

An enhanced Yii 2 widget encapsulating the HTML 5 range input (sub repo split from yii2-widgets)

214.1M3](/packages/kartik-v-yii2-widget-rangeinput)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[burnbright/silverstripe-externalurlfield

Provides SilverStripe with a DBField and FormField for handling external URLs.

109.6k1](/packages/burnbright-silverstripe-externalurlfield)

PHPackages © 2026

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