Download the PHP package iseed838/graphhopper-api without Composer
On this page you can find all versions of the php package iseed838/graphhopper-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download iseed838/graphhopper-api
More information about iseed838/graphhopper-api
Files in iseed838/graphhopper-api
Download iseed838/graphhopper-api
More information about iseed838/graphhopper-api
Files in iseed838/graphhopper-api
Vendor iseed838
Package graphhopper-api
Short Description Project graphhopper-api wrapper
License MIT
Homepage https://github.com/iseed838/graphhopper-api
Package graphhopper-api
Short Description Project graphhopper-api wrapper
License MIT
Homepage https://github.com/iseed838/graphhopper-api
Keywords apigraphhopper
Please rate this library. Is it a good library?
Informations about the package graphhopper-api
graphhopper-api
Graphhopper is powerful direction api to plannin you application graphhopper
This project is a wrapper for making api requests to the direction api
The wrapper can be installed with the command
- composer require "iseed838/graphhopper-api" "~0.2"
Currently 2 types of services are tied:
- Route Api
- Geocode Api
1) Make route request:
will be response:
2) Make geocode request:
-
query request
- reverse request
will be return:
The route request model has the following parameters:
- [x] points (required|string[]|count>1) - Point coordinate
- [x] vehicle (required|string) - Vehicle type. Available car,foot,bike, Default car;
- [x] language (required|string) - Request language. Available en,ru,de,fr,it. Default en;
- [x] is_calc_points (string) - Is need calculate points. Default false;
- [x] limit (required|integer) - Count response variants
- [x] is_instructions (string) - Is need text instructions for paths. Default false;
- [x] is_point_encoded (string) - Is need point encoded points. Default false;
- [x] details (string[]) - Response Detail. Available 'distance', 'time', 'weight', 'line'. Default 'distance';
The geocode query request model has the following parameters:
- [x] query (required|string) - Address string;
- [x] point (string) - Point coordinate;
- [x] language (required|string) - Request language. Available en,ru,de,fr,it. Default en;
- [x] provider (required|string) - Query provider. Available 'default', 'nominatim'. Default 'default'
- [x] limit (required|integer) - Count response variants. Default 5;
The geocode reverse request model has the following parameters:
- [x] point (required|string) - Point coordinate;
- [x] language (required|string) - Request language. Available en,ru,de,fr,it. Default en;
- [x] provider (required|string) - Query provider. Available 'default', 'nominatim'. Default 'default';
- [x] limit (required|integer) - Count response variants. Default 1;
All versions of graphhopper-api with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~5.3.1|~6.0
php Version >=7.4
rakit/validation Version ^1.2
ext-json Version *
php Version >=7.4
rakit/validation Version ^1.2
ext-json Version *
The package iseed838/graphhopper-api contains the following files
Loading the files please wait ....