Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.25 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.25 KB

Columbus: Provider agnostic address lookup for laravel

Latest Version on Packagist

This package allowes accessing the address lookup api from different geocoding providers using a unified interface.

Installation

You can install the package using composer:

composer require codelayer/columbus

After that you can load the default config and modify if you need to:

php artisan vendor:publish --provider="Codelayer\Columbus\ColumbusServiceProvider"

By default the required api tokens will be loaded from the LOCATION_SEARCH_ID and LOCATION_SEARCH_SECRET env variables

Usage

Currently only autocomplete suggestion is implemented:

Columbus::suggest($request->input('q'));

Supported providers

To create a new provider implement the Codelayer\Columbus\Contracts\AddressSearchProvider interface and update the columbus.provider key in your config.

About Us

codelayer is a web development agency based in Karlsruhe, Germany. This package was developed for use in our product likvi.

License

The MIT License (MIT).