This project embeds a PHP client class for GeoKrety Map (aka. GKM) service.
- GKM Api are described here.
- GKM source is also on github GeoKretyMap organization.
- Installation
From the command line run
$ composer require geokretymap/php-client
- Install dependencies
composer install
-
Install certificates bundle (used by https call)
- download the certificate bundle
- update your
php.ini
:
curl.cainfo="C:\CACERT\cacert-2019-05-15.pem"
openssl.cafile="C:\CACERT\cacert-2019-05-15.pem"
- Execute sample
php UsageSample.php
- Execute tests
vendor/bin/phpunit
NB: to activate test code coverage you will need to install and enable php Xdebug extension.