geokretymap / php-client
GeokretyMap PHP Client - https://geokretymap.org/
0.1.0
2019-05-23 11:32 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2025-03-02 08:34:50 UTC
README
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)
- 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"
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.