Skip to content

Geocode addresses and compute distances using the Open Route Service API

License

Notifications You must be signed in to change notification settings

FrancoisChaumont/open-route-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Route Service - Interface for the ORS API v6

GitHub release contributions welcome GitHub issues GitHub stars Github All Releases

PHP package to help geocode addresses and calculate distances using the Open Route Service API.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements

PHP 7.1+

Before being able to use the API, consequently this package as well, you need to create an account with Open Route Service and request an API key.
Please visit their official website in order to do so: https://open-route-service.org

Check out the plan page as well to aknowledge the limitations: https://openrouteservice.org/plans

Installation

Install this package with composer by simply adding the following to your composer.json file:

"repositories": [
    {
        "url": "https://github.com/FrancoisChaumont/open-route-service.git",
        "type": "git"
    }
]

and running the following command:

composer require francoischaumont/open-route-service:3.*

Requires a file named api.key at the root which contains the API key in order to run.

Testing

A tests file is provided under the tests folder to give an overall idea how to use this library. Not intented to be run.

Built with

  • Visual Studio Code

Authors

See also the list of contributors who particpated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Notes

About

Geocode addresses and compute distances using the Open Route Service API

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages