Skip to content

Provider agnostic address autocomplete for laravel

License

Notifications You must be signed in to change notification settings

codelayerhq/columbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Provider agnostic address autocomplete for laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages