respect-validation/data/iso_3166-2/KE.php
Alexandre Gomes Gaigalas 6173757f63 Use PHP files and setup a runtime cache for CountryInfo
Previously, we were loading country info from a JSON file. This
changes it to use PHP files instead. It also caches these resources
across calls avoiding these files to be loaded more than once
per process.
2023-02-19 00:19:10 -03:00

54 lines
1.1 KiB
PHP

<?php
return [
"country" => "Kenya",
"subdivisions" => [
"01" => "Baringo",
"02" => "Bomet",
"03" => "Bungoma",
"04" => "Busia",
"05" => "Elgeyo/Marakwet",
"06" => "Embu",
"07" => "Garissa",
"08" => "Homa Bay",
"09" => "Isiolo",
"10" => "Kajiado",
"11" => "Kakamega",
"12" => "Kericho",
"13" => "Kiambu",
"14" => "Kilifi",
"15" => "Kirinyaga",
"16" => "Kisii",
"17" => "Kisumu",
"18" => "Kitui",
"19" => "Kwale",
"20" => "Laikipia",
"21" => "Lamu",
"22" => "Machakos",
"23" => "Makueni",
"24" => "Mandera",
"25" => "Marsabit",
"26" => "Meru",
"27" => "Migori",
"28" => "Mombasa",
"29" => "Murang'a",
"30" => "Nairobi City",
"31" => "Nakuru",
"32" => "Nandi",
"33" => "Narok",
"34" => "Nyamira",
"35" => "Nyandarua",
"36" => "Nyeri",
"37" => "Samburu",
"38" => "Siaya",
"39" => "Taita/Taveta",
"40" => "Tana River",
"41" => "Tharaka-Nithi",
"42" => "Trans Nzoia",
"43" => "Turkana",
"44" => "Uasin Gishu",
"45" => "Vihiga",
"46" => "Wajir",
"47" => "West Pokot"
]
];