geokretymap/php-client

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

0.1.0 2019-05-23 11:32 UTC

This package is not auto-updated.

Last update: 2024-04-28 03:51:45 UTC


README

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.