Download the PHP package b35/vivoo-poi-client without Composer
On this page you can find all versions of the php package b35/vivoo-poi-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download b35/vivoo-poi-client
More information about b35/vivoo-poi-client
Files in b35/vivoo-poi-client
Package vivoo-poi-client
Short Description PHP client for the Vlaanderen POI OGC API Features
License MIT
Informations about the package vivoo-poi-client
vivoo-poi-client
PHP client for the Digitaal Vlaanderen POI OGC API Features service, with a focus on the Vlaamse Inventaris van Ongeschikte en Onbewoonbare Woningen (VIVOO) — the Flemish registry of dwellings declared unsuitable or uninhabitable by municipal mayors under Book 3 of the 2021 Flemish Housing Code.
The dataset covers single-family homes, apartments, and rooms in the Flemish Region. It is maintained by Wonen in Vlaanderen and refreshed daily. When using this data, attribution is required: "Bron: Wonen-Vlaanderen".
Requirements
- PHP 8.1+
- Composer
Installation
Usage
Basic usage
Filtering with CqlFilter
CqlFilter builds CQL2-text filter strings. Pass the result as the filter parameter alongside 'filter-lang' => 'cql2-text'.
CqlFilter methods
| Method | CQL2 output |
|---|---|
->equals('FIELD', 'value') |
FIELD='value' |
->like('FIELD', 'val%') |
FIELD LIKE 'val%' |
->address(straat, huisnummer, postcode, gemeente) |
Convenience wrapper for the standard address fields |
All parameters to address() are optional. Wildcards % (any string) and _ (single character) are supported in like() and in the straat parameter of address(). Matches are case-sensitive.
Multiple conditions are joined with AND:
All client methods
| Method | Endpoint |
|---|---|
getLandingPage() |
GET / |
getConformanceDeclaration() |
GET /conformance |
getCQLFunctions() |
GET /functions |
getCollections() |
GET /collections |
describeCollection($id) |
GET /collections/{id} |
getQueryables($id) |
GET /collections/{id}/queryables |
getFeatures($id, $params) |
GET /collections/{id}/items |
getFeature($id, $featureId) |
GET /collections/{id}/items/{featureId} |
searchFeatures($id, $body) |
POST /collections/{id}/search |
getFeatures() and searchFeatures() accept: limit, bbox, datetime, filter, filter-lang, filter-crs, sortby, crs, bbox-crs.
Error handling
All API and network errors throw B35\Vivoo\Exception\ApiException:
License
MIT