swisnl/pdok-geodatastore-api

This package is abandoned and no longer maintained. No replacement package was suggested.

A client for the PDOK Geodatastore API.

1.0.0 2017-11-24 15:50 UTC

This package is auto-updated.

Last update: 2022-02-01 13:10:58 UTC


README

PHP from Packagist Latest Version on Packagist Software License Run Status Coverage Badge Total Downloads Made by SWIS

A simple Object Oriented wrapper for PDOK Geodatastore API, written in PHP7. Uses PDOK Geodatastore API v1.

⚠️ Out of service ⚠️

PDOK Geodatastore and its API have been taken out of service as of January 2019, therefore this package no longer works!

Features

  • Follows PSR-4 conventions and coding standard: autoload friendly
  • Light and fast thanks to lazy loading of API classes

Requirements

  • PHP >= 7.0
  • Guzzle library,
  • (optional) PHPUnit to run tests.

Install

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.

Usage

$client = new \Swis\PdokGeodatastoreApi\Client();
$client->authenticate('username', 'password');
$datasets = $client->datasets()->all();

From $client object, you can access all features.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.

Credits

Heavily inspired by PHP GitHub API.

License

The MIT License (MIT). Please see License File for more information.

SWIS

SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.