2017 © Pedro Peláez
 

library geocoder

Postcode lookup wrapper

image

imageplus/geocoder

Postcode lookup wrapper

  • Monday, January 29, 2018
  • by imageplus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Geocoding made simple - without all the clutter and complexity

A Laravel 5.X package providing simple wrappers over three postcode geocoding services, (*1)

Here are a few short examples of what you can do:, (*2)

 $results = Geocoder::geocode($request->postcode,'googlemaps');
 $latitude = $results['lat'];
$longitude = $results['lng'];

Documentation

TBC, (*3)

Find yourself stuck using the package? Found a bug? Got a suggestion of additional providers to add Feel free to create an issue on GitHub, we'll try to address it as soon as possible., (*4)

If you've found a bug regarding security please mail support@image-plus.co.uk., (*5)

Installation

You can install this package via composer using this command:, (*6)

composer require imageplus/geocoder

You will need to register the service provider the usual way., (*7)

 'providers' => [

        /*
         * Package Service Providers...
         */
        Imageplus\Geocoder\GeocoderServiceProvider::class,

    ],

Autodiscovery TBC, (*8)

You can publish required configuration files using, (*9)

php artisan vendor:publish

Please then add API keys for the providers you wish to use to your .env file. They should be stored in the following format by default:, (*10)

IMAGEGEO_PREFER=postcodeio
OPENCAGE_API_KEY=
GOOGLE_MAPS_API_KEY=

Testing

TBC, (*11)

Who are we?

Image+ are a web and mobile app development agency based in Coventry, United Kingdom., (*12)

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

29/01 2018

dev-master

9999999-dev

Postcode lookup wrapper

  Sources   Download

MIT

The Requires

 

by Harry Messenger