https://github.com/pod-point/countries
A little package that provides Laravel and Lumen applications with full and partial lists of countries
https://github.com/pod-point/countries
countries currencies helpers internationalisation languages laravel software-team
Last synced: 3 months ago
JSON representation
A little package that provides Laravel and Lumen applications with full and partial lists of countries
- Host: GitHub
- URL: https://github.com/pod-point/countries
- Owner: Pod-Point
- License: mit
- Created: 2015-09-07T10:24:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T09:02:52.000Z (over 1 year ago)
- Last Synced: 2025-06-29T22:17:27.091Z (3 months ago)
- Topics: countries, currencies, helpers, internationalisation, languages, laravel, software-team
- Language: PHP
- Homepage:
- Size: 144 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Internationalisation Package
[](https://github.com/Pod-Point/countries/actions/workflows/run-tests.yml)
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
```bash
composer require pod-point/countries:^3.0
```For Laravel 6.x and PHP >= 7.2
```bash
composer require pod-point/countries:^4.0
```For Laravel 7.x or 8.x and PHP >= 7.3
```bash
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:
```php
'providers' => [
PodPoint\I18n\CountriesServiceProvider::class,
]
```If you're using Lumen, add the following line to your `bootstrap/app.php` file:
```php
$app->register(PodPoint\I18n\CountriesServiceProvider::class);
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Licence
The MIT Licence (MIT). Please see [Licence File](LICENCE.md) for more information.
---
Travel shouldn't damage the earth 🌍
Made with ❤️ at [Pod Point](https://pod-point.com)