Proof of concept for using CultuurNet UiTdatabank Search API v2 through the Solarium Solr client library for PHP.
The examples directory contains some relatively small command line apps demonstrating how
you can use this library. To try one of them, cd into its directory, run composer install
and then run app.php
.
Solarium only provides support for basic HTTP authentication out of the box. Search API v2 however uses OAuth 1. You can accomplish the necessary OAuth authentication on a lower level though, in the actual HTTP client library that is used by Solarium.
In our usage examples we use Guzzle with the Guzzle OAuth Subscriber.