respect-validation/data/iso_3166-2/CO.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

40 lines
947 B
PHP

<?php
return [
"country" => "Colombia",
"subdivisions" => [
"AMA" => "Amazonas",
"ANT" => "Antioquia",
"ARA" => "Arauca",
"ATL" => "Atlántico",
"BOL" => "Bolívar",
"BOY" => "Boyacá",
"CAL" => "Caldas",
"CAQ" => "Caquetá",
"CAS" => "Casanare",
"CAU" => "Cauca",
"CES" => "Cesar",
"CHO" => "Chocó",
"COR" => "Córdoba",
"CUN" => "Cundinamarca",
"DC" => "Distrito Capital de Bogotá",
"GUA" => "Guainía",
"GUV" => "Guaviare",
"HUI" => "Huila",
"LAG" => "La Guajira",
"MAG" => "Magdalena",
"MET" => "Meta",
"NAR" => "Nariño",
"NSA" => "Norte de Santander",
"PUT" => "Putumayo",
"QUI" => "Quindío",
"RIS" => "Risaralda",
"SAN" => "Santander",
"SAP" => "San Andrés, Providencia y Santa Catalina",
"SUC" => "Sucre",
"TOL" => "Tolima",
"VAC" => "Valle del Cauca",
"VAU" => "Vaupés",
"VID" => "Vichada"
]
];