Download the PHP package rotron/php-geocode without Composer
On this page you can find all versions of the php package rotron/php-geocode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rotron/php-geocode
More information about rotron/php-geocode
Files in rotron/php-geocode
Package php-geocode
Short Description A wrapper around the Google Geocoding API to get different details such as latitude, longitude, country, city, district, postcode, town and street number regarding some specific address.
License MIT
Homepage https://github.com/kamranahmedse/php-geocode
Informations about the package php-geocode
Laravel 5.2 Tested.
PHP Geocode
A wrapper around the Google Geocoding API to get different details regarding an address such as
- Latitude/longitude
- Country
- City
- District
- Postcode
- Town
- Street number
Requirement
PHP >= 5.4.0 and curl
enabled server.
Installation
You can install the library using the following ways
Composer
The recommended installation method is through Composer, a dependency manager for PHP. Just add rotron/php-geocode
to your project's composer.json
file:
and then run composer install
. For further details you can find the package at Packagist.
Getting Started
I'm going to use the following address to explain the use of library i.e.
1600 Amphitheatre Parkway, Mountain View, CA
Instantiate the Geocode
class and call the methods as follows
Feedback
I'd love to hear what you have to say. Please open an issue for any feature requests that you may want or the bugs that you notice. Also you can contact me at @kamranahmed_se
Note
It should be noted that, the Google Geocoding API has the following limits in place and you should keep them in mind before using this wrapper:
- 2,500 requests per 24 hour period.
- 5 requests per second.
All versions of php-geocode with dependencies
ext-curl Version *