linelab-studio/country-provider

Udostępnia obiekt country na podstawie kodu iso lub nagłówka locale.

2.0.4 2020-10-11 16:56 UTC

This package is auto-updated.

Last update: 2021-11-12 17:12:03 UTC


README

Provides a Country object by Name, locale, or ISO3166 code

Installation

Use the package manager composer to install CountryProvider.

comoser require linelab-studio/country-provider

Usage

<?php
include '../vendor/autoload.php';

$countryProvider = new \LabStudio\GeoPolitic\CountryProvider();

$country = $countryProvider->get('POL');

echo '<pre>';
var_dump($country);
echo '</pre>';

Contributing

License

Apache License 2.0