Bsn

February 3, 2026 ยท View on GitHub

  • Bsn()

Validates a Dutch citizen service number (BSN).

v::bsn()->assert('612890053');
// Validation passes successfully

Templates

Bsn::TEMPLATE_STANDARD

ModeTemplate
default{{subject}} must be a BSN
inverted{{subject}} must not be a BSN

Template placeholders

PlaceholderDescription
subjectThe validated input or the custom validator name (if specified).

Categorization

  • Identifications

Changelog

VersionDescription
3.0.0Templates changed
1.0.0Created

See Also