Pod-Point / countries by pod-point

A complete and partial list of countries with a Laravel service provider to load them into config
4,722
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-03-24 03:15:52
Package Statistics
Total Downloads: 4,722
Monthly Downloads: 201
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);