pod-point / countries
A package of useful components for internationalisation in Laravel applications.
Requires
- php: ^7.3|^8.0
- guzzlehttp/guzzle: ^6.3.1|^7.0.1
- illuminate/config: ^7.0|^8.0
- illuminate/filesystem: ^7.0|^8.0
- illuminate/support: ^7.0|^8.0
- illuminate/view: ^7.0|^8.0
- league/iso3166: ^3.0
- mpociot/vat-calculator: ^2.4
Requires (Dev)
- phpunit/phpunit: ^8.5.8|^9.3.3
This package is auto-updated.
Last update: 2026-04-23 15:56:43 UTC
README
This package provides Laravel and Lumen applications internationalisation features:
- List of all countries with data such as dialing codes, names, currencies...
- Limited countries supported by our applications with additional data such as locale, language...
- Laravel ViewComposers with some data pre-loaded.
- Facades and helpers for country, currencies and tax rates (VAT).
- Exchange rates for currencies via OpenExchangeRate's API implementation.
The countries are indexed using their uppercase ISO codes (alpha2/cca2).
Installation
You can install the package via composer:
For Laravel 5.x and PHP <= 7.1
composer require pod-point/countries:^3.0
For Laravel 6.x and PHP >= 7.2
composer require pod-point/countries:^4.0
For Laravel 7.x or 8.x and PHP >= 7.3
composer require pod-point/countries:^5.0
Then, finally, if you're using a Laravel version which doesn't support Auto Discovery, add the service provider to your config/app.php providers array:
'providers' => [ PodPoint\I18n\CountriesServiceProvider::class, ]
If you're using Lumen, add the following line to your bootstrap/app.php file:
$app->register(PodPoint\I18n\CountriesServiceProvider::class);
Changelog
Please see CHANGELOG for more information on what has changed recently.
Licence
The MIT Licence (MIT). Please see Licence File for more information.
Travel shouldn't damage the earth 🌍
Made with ❤️ at Pod Point