Download the PHP package andyfraussen/laravel-uitdatabank-client without Composer
On this page you can find all versions of the php package andyfraussen/laravel-uitdatabank-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andyfraussen/laravel-uitdatabank-client
More information about andyfraussen/laravel-uitdatabank-client
Files in andyfraussen/laravel-uitdatabank-client
Download andyfraussen/laravel-uitdatabank-client
More information about andyfraussen/laravel-uitdatabank-client
Files in andyfraussen/laravel-uitdatabank-client
Vendor andyfraussen
Package laravel-uitdatabank-client
Short Description A fluent Laravel client for publiq UiTdatabank APIs (Search available, more on roadmap)
License MIT
Homepage https://github.com/andyfraussen/laravel-uitdatabank-client
Package laravel-uitdatabank-client
Short Description A fluent Laravel client for publiq UiTdatabank APIs (Search available, more on roadmap)
License MIT
Homepage https://github.com/andyfraussen/laravel-uitdatabank-client
Please rate this library. Is it a good library?
Informations about the package laravel-uitdatabank-client
Laravel UiTdatabank Client
A fluent Laravel client for UiTdatabank APIs.
Current module support:
Search API(available now)
Search endpoints currently supported:
GET /offersGET /eventsGET /placesGET /organizers
Roadmap
- [x] Search API
- [x] Taxonomy API (
GET /terms) - [ ] Entry API
Features
- Laravel service provider + facade auto-discovery
- Fluent query builder (
newQuery()->q()->limit()->where()->get()) - Typed DTO responses (
SearchResultData,SearchItemData) - Config-based credentials (
x-client-id+x-api-key) - Runtime credential override for multi-tenant scenarios
- Problem+JSON exception mapping
Installation
Requirements
- PHP
8.3+ - Laravel
12
Publish the config file:
Configuration
Set credentials in .env:
Available environments:
testing->https://search-test.uitdatabank.beproduction->https://search.uitdatabank.be
Usage
Basic search
Fluent query builder
Taxonomy
Runtime credential override
Response DTOs
SearchResultData contains:
context(@context)type(@type)itemsPerPagetotalItemsmember(array ofSearchItemData)raw(original response array)
SearchItemData contains:
id(@id)type(@type)raw(original item payload)
Error handling
Non-2xx responses throw package exceptions:
AuthenticationException(401)AuthorizationException(403)NotFoundException(404)DuplicateException(409, when applicable)ValidationException(400validation problem types)- Fallback:
UiTdatabankException
Testing
License
The MIT License (MIT). See LICENSE.md.
All versions of laravel-uitdatabank-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-json Version *
illuminate/support Version ^12.0
illuminate/http Version ^12.0
ext-json Version *
illuminate/support Version ^12.0
illuminate/http Version ^12.0
The package andyfraussen/laravel-uitdatabank-client contains the following files
Loading the files please wait ...