2dotstwice/uitdatabank-search-api-solarium
Maintainers
Package info
github.com/2dotstwice/uitdatabank-search-api-solarium
pkg:composer/2dotstwice/uitdatabank-search-api-solarium
Requires
- php: ~5.6 || >=7.0
- cultuurnet/cdb: ^2.1
- solarium/solarium: ~3.8
Requires (Dev)
- phing/phing: ~2.11
- phpunit/phpunit: ~5.7
- satooshi/php-coveralls: ~2.0
- squizlabs/php_codesniffer: ~2.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Apache-2.0 a0ed658c4351bdaf1cc311075b9c5da11db22cc0
This package is auto-updated.
Last update: 2025-06-29 01:13:56 UTC
README
Proof of concept for using CultuurNet UiTdatabank Search API v2 through the Solarium Solr client library for PHP.
Usage examples
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.
Authentication
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.
