geokretymap / php-client
GeokretyMap PHP Client - https://geokretymap.org/
Installs: 68
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/geokretymap/php-client
Requires
- php: >=5.5
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2025-12-07 12:11:00 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.