Download the PHP package myparcelcom/timezone-resolver without Composer
On this page you can find all versions of the php package myparcelcom/timezone-resolver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download myparcelcom/timezone-resolver
More information about myparcelcom/timezone-resolver
Files in myparcelcom/timezone-resolver
Download myparcelcom/timezone-resolver
More information about myparcelcom/timezone-resolver
Files in myparcelcom/timezone-resolver
Vendor myparcelcom
Package timezone-resolver
Short Description Resolves a local timezone from address data using the GeoNames API.
License proprietary
Package timezone-resolver
Short Description Resolves a local timezone from address data using the GeoNames API.
License proprietary
Please rate this library. Is it a good library?
Informations about the package timezone-resolver
timezone-resolver
A lightweight PHP package that resolves an IANA timezone identifier from address data, using the GeoNames API.
Requirements
- PHP 8.2+
- A free GeoNames account with the web services enabled
To update dependencies on a system without PHP 8 use:
Installation
Usage
Method signature
- Tries to resolve by
postalCodefirst. - Falls back to
cityif the postal code yields no results. - Returns
nullif no timezone can be determined.
Using the interface
Depend on TimezoneResolverInterface instead of the concrete class to keep your code decoupled:
Configuration
The GeoNames username is passed directly to the constructor. In a Laravel application, bind the interface in a service provider:
Testing
License
Proprietary — © MyParcel.com
All versions of timezone-resolver with dependencies
PHP Build Version
Package Version
The package myparcelcom/timezone-resolver contains the following files
Loading the files please wait ...