This addon provides an IBAN fieldtype for Statamic with built-in country code, length, and checksum validation.
Requirements
- Statamic 6.0.0 or above
Installation
Install the addon with Composer:
composer require thomasvantuycom/statamic-iban-fieldtype
Usage
Add the fieldtype to your blueprint:
fields: - handle: iban field: type: iban display: IBAN
Validation
The field validates:
- IBAN country code
- IBAN length per country
- IBAN checksum
Formatting
The addon includes an Antlers modifier to format IBAN values in a more readable format.
{{ "BE68539007547034" | format_iban }}
BE68 5390 0754 7034
License
MIT