cowegis / cowegis-api-bundle
Cowegis API Bundle - Content Web GIS API Bundle
Package info
github.com/cowegis/cowegis-api-bundle
Type:symfony-bundle
pkg:composer/cowegis/cowegis-api-bundle
Fund package maintenance!
Requires
- php: ^8.3
- composer-runtime-api: ^2.0
- ext-json: *
- ext-pdo: *
- beberlei/assert: ^3.2
- cowegis/cowegis-core: ^1.1.0
- goldspecdigital/oooas: ^2.8
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- symfony/config: ^6.0 || ^7.0 || ^8.2
- symfony/dependency-injection: ^6.0 || ^7.0 || ^8.2
- symfony/event-dispatcher-contracts: ^1.1 || ^2.0 || ^3.0
- symfony/http-foundation: ^6.0 || ^7.0 || ^8.2
- symfony/http-kernel: ^6.0 || ^7.0 || ^8.2
- symfony/routing: ^6.0 || ^7.0 || ^8.2
- twig/twig: ^3.0
Requires (Dev)
- friends-of-phpspec/phpspec-expect: ^4.0
- netzmacht/phpspec-phpcq-plugin: @dev
- phpcq/runner-bootstrap: @dev
- phpspec/phpspec: ^6.0 || ^7.0 || ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-02 14:45:08 UTC
README
This is the base symfony bundle providing the API entrypoints of the cowegis project
Requirements
- PHP
^8.2
Install
composer require cowegis/cowegis-api-bundle
Schema endpoint
The GET {prefix}/docs/schema.json document is generated dynamically from every
installed Cowegis bundle. Responses are envelopes: GET .../map/{mapId} returns
{ "map": <MapSchema>, "assets": [<Asset>] } and the layer-data endpoints return
{ "data": <…>, "assets": [<Asset>] }. info.version defaults to the installed
cowegis/cowegis-api-bundle version; pin it with cowegis.api.version.