oneofftech / geoserver-client-php
A GeoServer API client
v0.4.1
2022-08-07 10:00 UTC
Requires
- php: >=7.4
- ext-fileinfo: *
- ext-zip: *
- doctrine/annotations: ^1.4
- doctrine/cache: ^1.6
- jms/serializer: ^3.4
- php-http/client-common: ^2.0
- php-http/client-implementation: ^1.0|^2.0
- php-http/discovery: ^1.3
- php-http/message: ^1.6
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.9
- guzzlehttp/psr7: ^1.6
- http-interop/http-factory-guzzle: ^1.0
- php-http/curl-client: ^2.0
- php-http/mock-client: ^1.0
- phpunit/phpunit: ^9.5
README
GeoServer PHP Client
This PHP library provides programmatic functions to access a GeoServer.
It is Free and Open Source Software. All contributions are most welcome. Learn more about how to contribute.
Features
- Obtain the version of the connected GeoServer instance
- Create workspace or retrieve existing workspace details
- Create datastores and listing them
- Create coveragestores and listing them
- Upload files in various formats
- Manage styles in SLD format
For detailed information of each of the provided functions check out the documentation on the usage.
Requirements
Installation
The GeoServer PHP Client uses Composer to manage its dependencies.
composer require php-http/guzzle7-adapter guzzlehttp/psr7 http-interop/http-factory-guzzle oneofftech/geoserver-client-php
For more information, please review the documentation on the installation process.
Supported file formats
The library handles:
Shapefile
Shapefile
insidezip
archiveGeoTIFF
GeoPackage
format version 1.2 (can contain both vector and raster data, but will be reported as vector)- Styled Layer Descriptor
SLD
files for layer styles in XML format
Read more on supported file formats and encoding.
License
This project is Free and Open Source Software, licensed under the AGPL v3 license.