geokretymap/php-client

GeokretyMap PHP Client - https://geokretymap.org/


Keywords
php, rest, api, geokrety, geokretymap
License
MIT

Documentation

GeoKrety Map PHP Client

Build Status Latest Stable Version Total Downloads

Introduction

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.

How to use

  • Installation

From the command line run

$ composer require geokretymap/php-client

How to contribute

Dependencies

  • Install dependencies
 composer install
  • Install certificates bundle (used by https call)

curl.cainfo="C:\CACERT\cacert-2019-05-15.pem"
openssl.cafile="C:\CACERT\cacert-2019-05-15.pem"

Sample

  • Execute sample
 php UsageSample.php

Testing

  • Execute tests
 vendor/bin/phpunit

NB: to activate test code coverage you will need to install and enable php Xdebug extension.