Pod-Point / countries by pod-point

A complete and partial list of countries with a Laravel service provider to load them into config
4,927
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: 2023-12-07
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-05-15 15:15:44
Package Statistics
Total Downloads: 4,927
Monthly Downloads: 79
Daily Downloads: 24
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);