Phone Number

Phone number field with country selection, validation and E.164 storage

Community 17 1.6k/wk MIT v1.7.1

Installation

pnpm add payload-phone-number-plugin

About

Phone Number adds a phone number field to Payload collections that checks each entry against its country. Editors choose the country from a dropdown with flags and calling codes, and the number is formatted as they type. Pasting an international number selects the matching country automatically.

Values are stored as E.164 strings, so queries and API responses use one predictable format. Reads return the parsed number with its country, calling code, and national and international forms. Country limits and a default country can be set project-wide or per field.

Validation messages are translated, so the admin panel stays readable in other languages.

Package info

Package name
payload-phone-number-plugin
Latest version
1.7.1
Unpacked size
248 kB
License
MIT
Weekly downloads
1.6k
Last publish
Jul 22, 2026

Similar plugins

More in Fields

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Pedigree fields, relatives and family-tree views for Payload collections

Color, icon, encrypted and unit-aware measurement fields for Payload admin

Adds theme presets, live preview and contrast checks to the Payload admin

Groups Payload fields inside a drawer that opens from a button or icon

Adds a barcode scan button to text fields in the Payload admin panel