Download the PHP package rovereto/country without Composer
On this page you can find all versions of the php package rovereto/country. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rovereto/country
More information about rovereto/country
Files in rovereto/country
Informations about the package country
Laravel Country
Several methods for searching timezones, continent by country code and subdivision code by subdivision name in IP2Location.
Installation
Install the package via composer:
Usage
- Determining the time zone for the country and subdivision
It takes as parameters the code of the country and subdivision according to the ISO-3166 standard.
If there are several time zones in the country, when passing only the country code, returns the capital time zone.
- Determining the continent by country code
It takes as parameters the code of the country according to the ISO-3166 standard.
But not all countries are on the same continent (part of the world). Russia is located in Europe and Asia. The second optional parameter with the subdivision code will allow you to define the continent for the Russian subdivision. Without a parameter, "EU" will be returned. Example:
- Map Ip2Location a subdivision name onto the code of the subdivision
Free IP geolocation database "IP2Location™ LITE" does not return ISO-3166 subdivision code. The method getSubdivisionCode finds the code subdivision by country code and subdivision name in IP2Location.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.
Changelog
Refer to the Changelog for a full history of the project.
Support
The following support channels are available at your fingertips:
- Help on Email
Author
- Alexander Ilyutkin Ilyutkin
See also the list of contributors who participated in this project.
License
This project is licensed under the The MIT License (MIT) Massachusetts Institute of Technology License - see the LICENSE.md file for details