Pod-Point / countries by pod-point

A complete and partial list of countries with a Laravel service provider to load them into config
5,039
0
11
Package Data
Maintainer Username: pod-point
Maintainer Contact: software@pod-point.com (Pod Point Software Team)
Package Create Date: 2015-09-07
Package Last Update: 2024-05-23
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:23:10
Package Statistics
Total Downloads: 5,039
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 0
Total Watchers: 11
Total Forks: 0
Total Open Issues: 4

Countries Package

Build Status codecov Packagist

This is a little package that provides Laravel and Lumen applications with full and partial lists of country names and international dialling codes. The country lists are loaded into config using using the keys countries and countries-partial. The countries are indexed using their uppercase ISO code.

Installation

Require the package in composer:

"require": {
    "pod-point/countries": "^2.0"
},

Then finally, if you're using Laravel, add the service provider to your config/app.php providers array:

'providers' => [
    PodPoint\I18n\Providers\CountriesServiceProvider::class
]

If you're using Lumen, add the following line to your bootstrap/app.php file:

$app->register(PodPoint\I18n\Providers\CountriesServiceProvider::class);