Public demo: nothing is sent to any provider and the data resets regularly.

Address

A Turkish address form backed by the embedded province and district dataset. The rules check that the province exists, that the district belongs to it, and that the postal code starts with the province's plate code. Province and district names are matched ignoring case and accents.

turkiye

1. Province

81 provinces. The district list loads from /address/districts.

2. District and postal code

Pick a province first.
Five digits, the first two are the plate code.
1 to 81, checked by the PlateCode rule.

Rules on this form

rule.Field(&f.Province,   rule.Required, turkiye.Province{})
rule.Field(&f.District,   rule.Required, turkiye.DistrictOf{ProvinceField: "province"})
rule.Field(&f.PostalCode, rule.Required, turkiye.PostalCode{ProvinceField: "province"})
rule.Field(&f.Plate,      turkiye.PlateCode{})
Özkan Özcan

Available for new projects

Hire the developer behind these packages

I am Özkan Özcan. I ported, tested and published every package in this demo, and I can do the same for your code:

  • Port your Laravel package or application to Laravel Go
  • Move one slow service first and keep the rest in PHP
  • Priority support and custom features for any OzSuite package
Start a project See my services

I reply within one working day.