PHPackages                             6fdigital/silverstripe-phone-field - 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. 6fdigital/silverstripe-phone-field

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

6fdigital/silverstripe-phone-field
==================================

A phone number field for the SilverStripe CMS with validation using libphonenumber

1.2.0(8mo ago)01031Apache-2.0PHP

Since Feb 16Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/6fdigital/silverstripe-phone-field)[ Packagist](https://packagist.org/packages/6fdigital/silverstripe-phone-field)[ Docs](https://github.com/6fdigital/silverstripe-phone-field)[ RSS](/packages/6fdigital-silverstripe-phone-field/feed)WikiDiscussions main Synced 1mo ago

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

SilverStripe Phone Field
========================

[](#silverstripe-phone-field)

A phone number field for the SilverStripe CMS with validation using libphonenumber.

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

[](#requirements)

- SilverStripe ^4 | ^5
- [libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php)
- [libphonenumber-js](https://www.npmjs.com/package/libphonenumber-js)
- SilverStripe Userforms (optional)

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

[](#installation)

```
composer require "6fdigital/silverstripe-phone-field"
```

Usage
-----

[](#usage)

The `PhoneField` can be used in your custom forms and with the [SilverStripe Userforms](https://github.com/silverstripe/silverstripe-userforms) module. For usage in your custom Forms simply add the form to your field list:

```
use SixF\PhoneField\PhoneField;

public function MyForm(): Form {
    return Form::create(
        $this,
        "MyForm",
        FieldList::create(
            ...
            PhoneField::create('PhoneNumber', 'Your Phone Number')
            ...
        ),
        FieldList::create(
            FormAction::create('doSubmit', 'Submit')
        ),
        RequiredFields::create('Phone')
        );
    }
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance59

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~93 days

Recently: every ~47 days

Total

7

Last Release

257d ago

Major Versions

0.1.2 → 1.0.02025-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/084cbd05c5962ff8d396b9ded85cf9a3ac65aa5e62ac0c07425fb3233942195a?d=identicon)[6fdigital](/maintainers/6fdigital)

---

Top Contributors

[![marcokernler](https://avatars.githubusercontent.com/u/969527?v=4)](https://github.com/marcokernler "marcokernler (15 commits)")

---

Tags

silverstripephonenumberformuserforms

### Embed Badge

![Health badge](/badges/6fdigital-silverstripe-phone-field/health.svg)

```
[![Health](https://phpackages.com/badges/6fdigital-silverstripe-phone-field/health.svg)](https://phpackages.com/packages/6fdigital-silverstripe-phone-field)
```

###  Alternatives

[sheadawson/silverstripe-zenvalidator

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

5778.4k2](/packages/sheadawson-silverstripe-zenvalidator)

PHPackages © 2026

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