Skip to content

Commit 2744069

Browse files
Merge pull request #64 from VincentLanglet/missingEuCountries
Add missing EU countries
2 parents 905499c + 0dddc1c commit 2744069

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

src/Countries.php

+35-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,41 @@ public function hasCountryCode(string $code): bool
285285
*/
286286
public function getCountryCodesInEU(): array
287287
{
288-
return ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GR', 'HU', 'HR', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK'];
288+
return [
289+
'AT', // Austria
290+
'AX', // Aland islands => Finland
291+
'BE', // Belgium
292+
'BG', // Bulgaria
293+
'CY', // Cyprus
294+
'CZ', // Czechia
295+
'DE', // Germany
296+
'DK', // Denmark
297+
'EE', // Estonia
298+
'ES', // Spain
299+
'FI', // Finland
300+
'FR', // France
301+
'GF', // French guiana => France
302+
'GP', // Guadeloupe => France
303+
'GR', // Greece
304+
'HU', // Hungary
305+
'HR', // Croatia
306+
'IE', // Ireland
307+
'IT', // Italy
308+
'LT', // Lithuania
309+
'LU', // Luxembourg
310+
'LV', // Latvia
311+
'MT', // Malta
312+
'MQ', // Martinique => France
313+
'NL', // Netherlands
314+
'PL', // Poland
315+
'PT', // Portugal
316+
'RE', // Reunion => France
317+
'RO', // Romania
318+
'SE', // Sweden
319+
'SI', // Slovenia
320+
'SK', // Slovakia
321+
'YT', // Mayotte => France
322+
];
289323
}
290324

291325
/**

0 commit comments

Comments
 (0)