A simple Object Oriented wrapper for PDOK Geodatastore API, written in PHP7. Uses PDOK Geodatastore API v1.
PDOK Geodatastore and its API have been taken out of service as of January 2019, therefore this package no longer works!
- Follows PSR-4 conventions and coding standard: autoload friendly
- Light and fast thanks to lazy loading of API classes
- PHP >= 7.0
- Guzzle library,
- (optional) PHPUnit to run tests.
Via Composer
$ composer require swisnl/pdok-geodatastore-api php-http/guzzle6-adapter
Why php-http/guzzle6-adapter
? We are decoupled from any HTTP messaging client with help by HTTPlug.
$client = new \Swis\PdokGeodatastoreApi\Client();
$client->authenticate('username', 'password');
$datasets = $client->datasets()->all();
From $client
object, you can access all features.
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.
Heavily inspired by PHP GitHub API.
The MIT License (MIT). Please see License File for more information.
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.